Logo

Capsule One

Ctrl-a and Ctrl-e with tmux and zsh

⌛ 1 minute

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
· Ricardo Marques