summaryrefslogtreecommitdiffstats
path: root/zshinput
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-03-01 12:37:04 -0600
committerJesse Luehrs <doy@tozt.net>2012-03-01 18:07:31 -0600
commit5de3e92783983b628e0033e07936d5a2c7b2679a (patch)
treeb199cd8a9085014eb6e53072c9cabc51b37ffb04 /zshinput
parent04658065abfa496f5736f6c0184af5548bd9fc8f (diff)
downloadconf-5de3e92783983b628e0033e07936d5a2c7b2679a.tar.gz
conf-5de3e92783983b628e0033e07936d5a2c7b2679a.zip
less dumb history searching
Diffstat (limited to 'zshinput')
-rw-r--r--zshinput6
1 files changed, 6 insertions, 0 deletions
diff --git a/zshinput b/zshinput
index 02d17e9..73fdd65 100644
--- a/zshinput
+++ b/zshinput
@@ -6,6 +6,12 @@ bindkey "^[[B" history-beginning-search-forward-end
bindkey "^[OA" history-beginning-search-backward-end
bindkey "^[OB" history-beginning-search-forward-end
+bindkey -M viins '^R' history-incremental-search-backward
+bindkey -M vicmd '^R' history-incremental-search-backward
+bindkey -M vicmd '/' history-incremental-search-backward
+bindkey -M vicmd '?' history-incremental-search-forward
+bindkey -rM viins '^[/'
+
bindkey "^?" backward-delete-char
bindkey "^H" backward-delete-char
bindkey "^U" backward-kill-line