summaryrefslogtreecommitdiff
path: root/key-bindings.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2009-09-01 20:46:48 -0700
committerRobby Russell <robby@planetargon.com>2009-09-01 20:46:48 -0700
commit71c59eaf8554f1677f88423065596f39eb41973f (patch)
tree5cae53a5a50a11057c8dc103d0dcb196ecc09c5b /key-bindings.zsh
parent1978c04daac2bc207c6a12ca05d94aeaefba029c (diff)
downloadzsh-71c59eaf8554f1677f88423065596f39eb41973f.tar.gz
zsh-71c59eaf8554f1677f88423065596f39eb41973f.tar.bz2
zsh-71c59eaf8554f1677f88423065596f39eb41973f.zip
Moving bindings into their own file. Updating aliases after moving out bindings
Diffstat (limited to 'key-bindings.zsh')
-rw-r--r--key-bindings.zsh14
1 files changed, 14 insertions, 0 deletions
diff --git a/key-bindings.zsh b/key-bindings.zsh
new file mode 100644
index 000000000..20caad11f
--- /dev/null
+++ b/key-bindings.zsh
@@ -0,0 +1,14 @@
+# TODO: Explain what some of this does..
+autoload -U compinit
+compinit
+bindkey '\ew' kill-region
+bindkey -s '\el' "ls\n"
+bindkey -s '\e.' "..\n"
+bindkey '^r' history-incremental-search-backward
+bindkey "^[[5~" up-line-or-history
+bindkey "^[[6~" down-line-or-history
+bindkey "^[[H" beginning-of-line
+bindkey "^[[1~" beginning-of-line
+bindkey "^[[F" end-of-line
+bindkey "^[[4~" end-of-line
+bindkey ' ' magic-space # also do history expansion on space \ No newline at end of file