aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/key-bindings.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/zsh/key-bindings.zsh')
-rw-r--r--config/zsh/key-bindings.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/zsh/key-bindings.zsh b/config/zsh/key-bindings.zsh
new file mode 100644
index 0000000..4deac62
--- /dev/null
+++ b/config/zsh/key-bindings.zsh
@@ -0,0 +1,6 @@
+bindkey -e # use emacs mode
+bindkey '^r' history-incremental-search-backward # ctrl-r
+bindkey '^[[Z' reverse-menu-complete # shift-tab
+
+bindkey '\e[3~' delete-char # make sure delete key works
+bindkey ' ' magic-space # also do history expansion on space