diff options
author | Matt Singleton <matt@xcolour.net> | 2021-02-09 19:26:11 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2021-02-09 19:26:11 -0600 |
commit | b9e3d4d14316054a306914e710157d3e03b5aa25 (patch) | |
tree | 5e7ec5aaba7847234000ae6801d23979360db213 /config/zsh/40-key-bindings.zsh | |
parent | 472ba71fd7e646ea82a332e0ecbe6a836512f28d (diff) |
refactor zsh
Diffstat (limited to 'config/zsh/40-key-bindings.zsh')
-rw-r--r-- | config/zsh/40-key-bindings.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/zsh/40-key-bindings.zsh b/config/zsh/40-key-bindings.zsh new file mode 100644 index 0000000..4deac62 --- /dev/null +++ b/config/zsh/40-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 |