X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=.zshrc;h=0c2791814183cb998314535c1ecf8172cbab5d3b;hb=02956a86b40e9811a70ec269b04a68665b78d1f7;hp=d6718556af6cc2223dd4435a4507b3a96a28a62e;hpb=89676cc37123982ac4e8b4de22308dcef54f7ac7;p=user%2Fhenk%2Fvcsh%2Fzsh.git diff --git a/.zshrc b/.zshrc index d671855..0c27918 100644 --- a/.zshrc +++ b/.zshrc @@ -183,11 +183,13 @@ bindkey -M vicmd 'w' forward-word bindkey -M vicmd 'b' backward-word bindkey -M viins '^W' backward-kill-word +# default vi history search is strange +bindkey -M viins '^R' history-incremental-search-backward + # better word matching autoload -U select-word-style select-word-style normal -zstyle ':zle:*' word-style normal # these characters do _not_ separate words but are part of words zstyle ':zle:*' word-chars '*?[]~;!#$%^(){}<>'