summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-04-26 13:16:44 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-04-26 13:16:44 +0100
commitaffdd14e4c872e77e048a13bb479caad3604cf55 (patch)
treee5440c4606a37c8e9bd10e6665072f5683f23b25 /input
parent6351bf54847b570bab4a597cea38115ebae396fe (diff)
Add readline emacs bindings
Diffstat (limited to 'input')
-rw-r--r--input/.inputrc14
1 files changed, 12 insertions, 2 deletions
diff --git a/input/.inputrc b/input/.inputrc
index b4adc07..afe1ff4 100644
--- a/input/.inputrc
+++ b/input/.inputrc
@@ -1,3 +1,13 @@
-set editing-mode vi
-set keymap vi
set completion-ignore-case on
+set keyseq-timeout 0
+set editing-mode vi
+set keymap vi-insert
+Control-a: beginning-of-line
+Control-b: backward-char
+Control-d: delete-char
+Control-e: end-of-line
+Control-f: forward-char
+Control-k: kill-line
+Control-l: clear-screen
+Control-n: next-history
+Control-p: previous-history