2

In vim I have jj bound to go to normal mode:

inoremap jj <ESC>

I changed Terminal to vi mode in ~/.bash_profile, but how can I set up the same binding? This doesn't work unfortunately:

bind '"jj": vi-cmd-mode'

Thanks in advance!

1 Answer 1

0

In bash the command is "vi-movement-mode":

bind '"jj": vi-movement-mode'

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .