aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh/inputrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config/zsh/inputrc')
-rw-r--r--dotfiles/.config/zsh/inputrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/dotfiles/.config/zsh/inputrc b/dotfiles/.config/zsh/inputrc
new file mode 100644
index 0000000..f852d3b
--- /dev/null
+++ b/dotfiles/.config/zsh/inputrc
@@ -0,0 +1,12 @@
+$include /etc/inputrc
+set editing-mode vi
+$if mode=vi
+
+set keymap vi-command
+# these are for vi-command mode
+Control-l: clear-screen
+
+set keymap vi-insert
+# these are for vi-insert mode
+Control-l: clear-screen
+$endif