¿Cómo puedo asignar jj a Esc en inputrc por lo que es recogido por las aplicaciones que utilizan GNU Readline (pitón, mongoshell, ...)mapa jj a Esc en inputrc (readline)
todas las obras bien en zsh usando:
bindkey -M viins 'jj' vi-cmd-mode
esta es mi inputrc actual:
set editing-mode vi
set keymap vi
# turn off the stupid bell
set bell-style none
$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history
#"jj": vi-movement-mode
set keymap vi-insert
"\C-w": backward-kill-word
"\C-p": history-search-backward
$endif
gracias por la línea zsh, que me inició en la creación de un readline vim/emacs híbrido –