10 ms·
What's the bind incantation in the bashrc you recommend? Here is what I tried: bind -m vi-command 'Control-e: emacs-editing-mode' bind -m emacs 'M-C-j:
by tristan957 2y ago
What's the bind incantation in the bashrc you recommend? Here is what I tried:
bind -m vi-command 'Control-e: emacs-editing-mode'
bind -m emacs 'M-C-j: vi-editing-mode'
The second keybind does not seem to work. If I just make it control-j, it works. For some reason the meta is throwing it off.
- sre2 2y agoYou are looking for bind -m emacs-meta '"\C-j": vi-editing-mode' and possibly adding bind -m vi-insert '"\C-e": emacs-editing-mode'
- tristan957 2y agoThe default keybind is control-meta-j though. My comment was in reference to me not being able to get that to work.