summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
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