Britton Kerin wrote: > 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.
It doesn't work because that's not the name of the command and you have the key binding syntax slightly wrong. Try bind -m vi-insert '"js":vi-movement-mode' which works fine for me using bash-3.2.48. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/