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 '*?[]~;!#$%^(){}<>'