24

I'm using tmux as a replacement for GNU screen, and I'm using set-option -g prefix C-a to use C-a as my default. This naturally conflicts with C-a as the emacs-style move to beginning of line shortcut.

In screen, C-a a sends a C-a event to the shell, but I can't figure out how to duplicate this functionality in tmux.

1 Answer 1

32

For your .tmux.conf:

bind-key a  send-prefix
1
  • you save my day!
    – zx1986
    Commented Nov 18, 2022 at 10:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .