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!
In bash the command is "vi-movement-mode":
bind '"jj": vi-movement-mode'
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago