I use vi mode for Bash's realine and want to remap the ESC key to double 'ii'
and ';;' instead of having to remove my hands from the keyboard to tap the ESC
key.
>From what I see, I would be using something similar to:
$ bind -m vi-command '"ii": <toggle insert/command mode command>'
Second issue, I'm not sure of the command to use for toggling insert/command
mode. (ie. bind -l) I think the two commands are vi-insertion-mode and
vi-movement-mode.
I do know double key taps works such as the 'dd' key press sequence to delete a
line, but only while in vi-movement mode or AKA command mode.
Any ideas? I'm all Googled-out over this one.
--
Roger
http://rogerx.freeshell.org/