diff --git a/dotfiles/bash/inputrc b/dotfiles/bash/inputrc index c0e22b2..019be31 100644 --- a/dotfiles/bash/inputrc +++ b/dotfiles/bash/inputrc @@ -17,14 +17,18 @@ $endif $if mode=vi set keymap vi-command # these are for vi-command mode + Control-l: clear-screen "\e[A": history-search-backward "\e[B": history-search-forward j: history-search-forward k: history-search-backward + set keymap vi-insert # these are for vi-insert mode + Control-l: clear-screen "\e[A": history-search-backward "\e[B": history-search-forward + # escape binding as in vimrc "jk": vi-movement-mode $endif