News for hackers. Stuff that matters.
Re:A minimalist guide to tmux by joatmon-snoo on Saturday November 25, 2017 @04:41PM (#15778146)
Question: what do people use as their prefix?

I started using tmux last week, and although it's mostly been a good experience, I still haven't been able to settle on a good prefix. I find C-a to be a terrible choice because I actually use that for command line navigation, and so in the meantime I've tried settling on C-q, but it just feels awkward at times.

(Note that I've remapped Caps Lock to Ctrl.)

Re:A minimalist guide to tmux by LeapingLennie on Saturday November 25, 2017 @06:51PM (#15778641)
I use C-Space. Easy to type and doesn’t interfere with any readline or vim keybindings.
Re:A minimalist guide to tmux by psynapse on Saturday November 25, 2017 @07:56PM (#15778872)
Same here. I also use space as my Vim leader, so it feels natural.
Re:A minimalist guide to tmux by biggerfisch on Sunday November 26, 2017 @11:23AM (#15781559)
Same here to both. Only real conflict is with dunst [0] which also likes to use Ctrl-Space by default.

[0] https://github.com/dunst-project/dunst

Re:A minimalist guide to tmux by vowelless on Saturday November 25, 2017 @05:05PM (#15778253)
Kind of related, I actually use tmux-modality to add vim style modality to tmux. For this reason, I don't often use the prefix. I switch to "command mode" to do certain operations (resize panes, change windows, etc).
Re:A minimalist guide to tmux by skilbjo on Saturday November 25, 2017 @07:19PM (#15778745)
I use ` as the prefix. For when I install tmux on a remote server and use a nested tmux session: ¡ (alt + 1) is my prefix.

My bindings (very happy with them): https://github.com/skilbjo/dotfiles/blob/master/tmux/keybind...

Re:A minimalist guide to tmux by hetman on Saturday November 25, 2017 @06:32PM (#15778582)
I've always used C-f. Very comfortable for me but I haven't seen anyone else use it. Importantly it keeps my fingers on the home row keys. I tend to use VIM navigation in my terminal so I don't miss that binding (although there's plenty of other keys in the general vicinity).
Re:A minimalist guide to tmux by dotancohen on Sunday November 26, 2017 @03:33AM (#15780021)
It's interesting to see which technologies people _don't_ use by what they bind as their prefix. The `Ctrl-]` guy probably doesn't do C, the `Ctrl-A` guy doesn't use VIM, etc...

I guess that is because all the good shortcuts have already been taken!

Re:A minimalist guide to tmux by auvrw on Saturday November 25, 2017 @06:27PM (#15778560)
here's the config to use an emacs-like C-x prefix and xmonad-like joker/klown pane selection

https://github.com/ransomw/dotfiles/blob/master/tmux.conf

along with a rant about what terminal multiplexers are in the first place

https://github.com/ransomw/dotfiles#tmux

... both are wip, suggestions welcome

Re:A minimalist guide to tmux by totallymike on Saturday November 25, 2017 @10:43PM (#15779318)
I use C-o.

My keyboard layout is set to dvorak, so the o is right next to a, lending similar convenience. I also haven't run into any serious conflicts in Vim, Emacs, or most shell stuff I do.

Re:A minimalist guide to tmux by webreac on Saturday November 25, 2017 @04:56PM (#15778220)
I find also C-a to be a terrible choice. At work, we have screen instead of tmux. I have configured screen to use C-b like tmux default.
Re:A minimalist guide to tmux by alexozer on Saturday November 25, 2017 @07:09PM (#15778706)
Really not sure what a great prefix for me would be considering my caps lock is escape, not control
Re:A minimalist guide to tmux by graywh on Saturday November 25, 2017 @07:23PM (#15778757)
Ctrl-_, which is sent by Ctrl + 7 and/or Ctrl + / in most terminals.
Re:A minimalist guide to tmux by 6ak74rfy on Saturday November 25, 2017 @04:45PM (#15778171)
I have been using C-q for many months now, and it works fine for me.
Re:A minimalist guide to tmux by fernandotakai on Saturday November 25, 2017 @06:51PM (#15778643)
i've been using C-x for a long time now. i feel quite comfortable, specially after mapping caps to control.
Re:A minimalist guide to tmux by dxhdr on Sunday November 26, 2017 @12:31AM (#15779569)
C-q, no conflicts with emacs bindings.
Re:A minimalist guide to tmux by paulv on Sunday November 26, 2017 @01:01AM (#15779643)
C-]

I use both C-a and C-b in bash all the time.