I've been tinkering with my dotfiles lately, and at some point I lost use of the default
^K keymappings, which I use frequently.
bindkey -L | grep '\^[AK] # bindkey -R "^A"-"^C" self-insert # bindkey "^K" self-insert
But the man page for
zshzle clearly states that
^A are mapped by default to
asf, as I've come to expect.
I can't find anywhere in any of my initialization files where this would have been remapped! I certainly didn't do it:
print /usr/local/ ~/.z^(compdump|sh_history) ~/dotfiles | xargs ag 'bindkey' # /Users/vercingetorix/.zshrc # 56:bindkey "^[[3~" delete-char # # /Users/vercingetorix/dotfiles/zsh/zshrc # 56:bindkey "^[[3~" delete-char
That's all I have!
In fact I know I didn't do it:
zsh -x &> diagnose.log exit wc -l diagnose.log # 3802 diagnose.log [[ -z $(ag '\^[AK]' diagnose.log) ]] && print 'nothing!' # nothing! [[ -z $(ag 'bindkey -[evaM]' diagnose.log) ]] && print 'nothing!' # nothing!
So what gives? What's happening to the default mappings?