From c36b937f91679e9d94058451b89cf8b750cc8d73 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Sun, 17 Oct 2021 11:04:09 -0700 Subject: [PATCH] adjusted so vi keybindings didn't throw off ctrl l clear --- bashrc.txt | 4 ++++ 1 file changed, 4 insertions(+) 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() {