aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/key-bindings.zsh
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2021-02-06 13:39:13 -0600
committerMatt Singleton <matt@xcolour.net>2021-02-06 13:39:13 -0600
commite6a2618400edcddc2a80ef2776871ca01992be03 (patch)
tree72f9572bd8037f8d40abf070fc13c52fec9b5521 /config/zsh/key-bindings.zsh
parent9ec86efc56ecdbcaf6ee0626f928c16c266cda2c (diff)
big refactor to use XDG base dir spec
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