From 40d4b3c44331d7c52ed8ffee3936eec2318f4544 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 10 Nov 2018 18:18:07 -0500 Subject: [PATCH] ctrl-a to beginning of line in vi bash --- .inputrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.inputrc b/.inputrc index f852d3b..862d347 100644 --- a/.inputrc +++ b/.inputrc @@ -5,8 +5,11 @@ $if mode=vi set keymap vi-command # these are for vi-command mode Control-l: clear-screen +Control-a: beginning-of-line set keymap vi-insert # these are for vi-insert mode Control-l: clear-screen +Control-a: beginning-of-line + $endif