mastering-zsh: Advanced topics to take advantage of zsh
mastering-zsh: Advanced topics to take advantage of zsh

github.com
GitHub - rothgar/mastering-zsh: Advanced topics to take advantage of zsh 👩💻👨💻

mastering-zsh: Advanced topics to take advantage of zsh
GitHub - rothgar/mastering-zsh: Advanced topics to take advantage of zsh 👩💻👨💻
Bit suss on the ctrl-A start of line, because vim binding is A for append which is end of line.
Ctrl +a and Ctrl +e for beginning and end of line are from Emacs.
GNU Readline is what provides them in the bash. There's a bunch of shortcuts worth learning in there!
Most distributions I've tried use Emacs as the default shell binding style, some of the bindings are even available in things like appliance cli's like Cisco IOS and clones.
Bash supports vi mode too, you just have to switch to it.
ZSH uses zle (ZSH Line Editor) instead of Readline, but I assume the Emacs style bindings have been copied over to zle for muscle memory portability. You can switch the keymap in zle,
or set your own!
I am aware, explained more in my other comment
ctrl+a and ctrl+e are from Emacs.
Yes but OP is using vi bindings for line navigation.
Control-A and E should work in insert mode. That’s why OP mentions pressing escape before issuing the normal mode ^ and $ commands.
In insert mode, some or most of the EMacs-style shortcuts work.
Ctrl a and e are same as bash