I find Escape hard to get to in vi so I map the sequence "js" to it.

I'm wondering if its possible to emulate this behavior in bash.  I
tried:

    bind -m vi-insert "js": vi-command-mode

but it doesn't seem to work: typing the sequence from insert mode
just beeps when j is typed and then the s gets inserted.

To avoid the icky issue of inputing a literal "js" maybe something
like the timeout behavior that vim has is considered necessary, but
I'd take it even if such a thing isn't available.

Thanks,
Britton




Reply via email to