How to go to the beginning of a line in tmux after reassigning a prefix to CTRL + A?

following the suggestion on this Archlinux wiki, on the tmux page, I reassigned the command line prefix to Ca to mimic the GNU screen and have something lighter on the keyboard than Cb . So my .tmux.conf became the following:

 set -g default-terminal "screen-256color" unbind Cb set -g prefix Ca set-window-option -g mode-keys vi bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R 

However, although on the screen you could use Ca a to jump to the beginning of the line, this no longer works in tmux. As a secondary, I use iTerm2 without tmux integration.

Does anyone know how to solve this?

Thank!

+47
terminal tmux macos
Mar 13 2018-12-12T00:
source share
1 answer

You need to tell tmux that the prefix + a should send the prefix key to the program running in the current panel:

 bind a send-prefix 
+75
Mar 14 2018-12-12T00:
source share



All Articles