diff --git a/bashrc.txt b/bashrc.txt index 1da962db..bf2f8875 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -5,6 +5,10 @@ # enable vi keybindings in terminal and terminal applications set -o vi +# but keep ctrl l as the clear screen command +bind -m vi-command 'Control-l: clear-screen' +bind -m vi-insert 'Control-l: clear-screen' + [[ $- != *i* ]] && return colors() {