If I set the Cb key binding to ca in tmux, how can I move the cursor to the beginning of the line?

I just go from the GNU screen to tmux, on the screen when I press Ca , then type a again to take me to the beginning of the line, I wonder if I stick to Ca in tmux, how can I think it over?

+55
tmux
Jul 19 2018-12-12T00:
source share
2 answers

As you know, Cb is the default prefix in tmux . Cb Cb used to send the actual Cb character to the terminal. If you switch the prefix to Ca , you just need to reinstall some keys for the update, which sends the send-prefix command.

For your .tmux.conf :

 # You probably already put this in set prefix Ca unbind-key Cb bind-key Ca send-prefix 
+59
Jul 19 2018-12-12T00:
source share
β€” -

This may be a problem with the version I'm using, but if the above code doesn't work for you, try the following:

 set -g prefix Ca unbind-key Cb bind-key Ca send-prefix 
+54
Jul 09 '13 at 9:53 on
source share



All Articles