Ctrl-a and Ctrl-e with tmux and zsh

· 1 min read

Decided recently to uninstall oh-my-zsh because it was a big contributor to my shell’s slow load time. Suddenly my Ctrl + a and Ctrl + e shortcuts for beginning of line and end of line stopped working, but only inside a tmux session.

Turns out setting these bindings directly in .zshrc fixes it:

#.zshrc
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line

Comments are hosted on Capsule One and not tracked. See the privacy policy.