If you’re wondering why this happened: You likely have $EDITOR
or $VISUAL
set to vi/vim which made zsh default to the vi keymap which doesn’t use ctrl+a for moving the caret.
Adding bindkey -e
to ~/.zshrc
will restore the old behavior (emacs keymap).