Nicholas Marriott wrote:
> And it is surprising the amount of variation: I have seen others who use
> `, or function keys, quite a few seem to go for C-x or C-s, and some
> even for C-z.

Using C-s sounds like asking for trouble. :)

> So (and I know you didn't suggest this but some people might be
> wondering :-), the tmux prefix key is C-b and it is staying C-b unless
> there is a clear consensus that it should change, and what it should
> change to.

I doubt there ever will be. C-a makes a poor universal choice (despite
screen's precedence, and my personal preference) for the start-of-line
thing; ` may make a poor choice for people who write much Perl or shell,
or use it with the Compose key to type grave accents (à) or whatnot. It
seems to me that there are no good choices, only choices that vary in
how poor they are (C-m or C-i are obviously poor choices, and
function-keys and C-s can lead to problems that C-a and C-b won't). So
might as well keep on doing what we've been doing: choose an arbitrary
prefix, but refer to it generically as <prefix> wherever possible, and
let people change it to suit their needs.

> The same applies to default colours... many people want colours by
> default and many do not, no consensus means it stays what I originally
> chose, which is a coloured tmux by default. And the same for the status
> line, there is no clear opinion on whether on or off is better by
> default, so on it stays on :-).

Yeah. Personally, I always liked having such a visual reminder that I'm
"in screen/tmux"; in screen, one of the first things I tended to do in
screen was to turn the status bar on, even if I didn't intend to use the
information it provided. Though altering one's prompt based on STY or
TMUX is another solution, and one that needn't take space (but I tend to
have several windows open, so I do usually need the window-list anyway).

> For the record, I use C-a for my primary tmux sessions but I leave it at
> C-b for transient ones (eg when I start one up on a different box just
> for a build).

Do you use Home and End when you're using Emacs, then?

> The actual reason I originally chose C-b was because the first prototype
> versions of tmux were written and tested inside screen, and C-b didn't
> interfere with screen's C-a prefix.
> 
> As an aside, you can bind multiple prefix keys, so if you wanted you
> could bind a function key and another key as a backup.

Good point. I don't believe screen allows this.


-- 
Micah J. Cowan
http://micah.cowan.name/

------------------------------------------------------------------------------
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to