From c012741d8981bd1d7275d47427e04d75f6814689 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Wed, 27 May 2020 11:28:36 +0200 Subject: [PATCH] Add ctrl L for clear screen --- dotfiles/bash/inputrc | 4 ++++ 1 file changed, 4 insertions(+) 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