aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S30_binds
diff options
context:
space:
mode:
Diffstat (limited to 'files/.zsh/rc/S30_binds')
-rwxr-xr-xfiles/.zsh/rc/S30_binds28
1 files changed, 28 insertions, 0 deletions
diff --git a/files/.zsh/rc/S30_binds b/files/.zsh/rc/S30_binds
new file mode 100755
index 0000000..7808b83
--- /dev/null
+++ b/files/.zsh/rc/S30_binds
@@ -0,0 +1,28 @@
+bindkey -v "^[[3~" delete-char
+bindkey -v "^[[5~" backward-word
+bindkey -v "^[[6~" forward-word
+
+bindkey -v "^[[A" history-beginning-search-backward
+bindkey -v "^[[B" history-beginning-search-forward
+
+bindkey -v "^A" beginning-of-line
+bindkey -v "^E" end-of-line
+bindkey -v "^K" kill-line
+bindkey -v "^L" clear-screen
+bindkey -v "^R" history-incremental-search-backward
+bindkey -v "^U" kill-whole-line
+bindkey -v "^V" quoted-insert
+bindkey -v "^W" backward-kill-word
+
+bindkey -v "^N" down-history
+bindkey -v "^P" up-history
+
+bindkey -v "^[H" run-help
+bindkey -v "^[h" run-help
+
+autoload -U edit-command-line
+zle -N edit-command-line
+bindkey -a "v" edit-command-line
+
+
+# vim: et ft=zsh :