aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S30_binds
diff options
context:
space:
mode:
authorAnton Bobov <bobov_a@sibsac.ru>2011-10-13 11:17:19 +0600
committerAnton Bobov <bobov_a@sibsac.ru>2011-10-13 11:17:19 +0600
commitda709cd9e90c3ab644bb92700f0ed40d965b80d3 (patch)
tree144e5470327f72b8489141cd7595b652c6c32616 /files/.zsh/rc/S30_binds
Initial commit.
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 :