summaryrefslogtreecommitdiffstats
path: root/.config/bash/vi.inputrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/bash/vi.inputrc')
-rw-r--r--.config/bash/vi.inputrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/bash/vi.inputrc b/.config/bash/vi.inputrc
new file mode 100644
index 0000000..4ec6049
--- /dev/null
+++ b/.config/bash/vi.inputrc
@@ -0,0 +1,8 @@
+# Readline key bindings for both the vi-insert and vi-command keymaps
+
+"\C-l": clear-screen # Ctrl+l clear screen
+"\C-w": unix-filename-rubout # Ctrl+w erase word backward (hyphens included)
+"\C-k": history-search-backward # Ctrl+k search history backward (non-incremental)
+"\C-j": history-search-forward # Ctrl+j search history forward (non-incremental)
+
+# vim: filetype=readline