Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 21 down vote accepted

For your .tmux.conf:

bind-key a  send-prefix
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.