summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2020-09-20 20:12:18 +1200
committerDavid Phillips <david@yeah.nah.nz>2020-09-20 20:12:18 +1200
commit1ebcb1eddea42f8b1911fde06909fda3ecaeae86 (patch)
tree3ff1c49585d02f38b7440613b7688f1fe7bcd9ea /zshrc
parentbb564cb086aab16ffe91370e17afa8396739ac46 (diff)
downloaddotfiles-1ebcb1eddea42f8b1911fde06909fda3ecaeae86.tar.xz
Misc updates
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index c79dad1..6257fcb 100644
--- a/zshrc
+++ b/zshrc
@@ -23,6 +23,9 @@ key[Insert]="$terminfo[kich1]"
key[Backspace]="$terminfo[kbs]"
key[Delete]="$terminfo[kdch1]"
+bindkey -e
+bindkey "^R" history-incremental-search-backward
+
# setup key accordingly
[[ -n "$key[Home]" ]] && bindkey -- "$key[Home]" beginning-of-line
[[ -n "$key[End]" ]] && bindkey -- "$key[End]" end-of-line