News for hackers. Stuff that matters.
Re:Tmux 2.0 released by Jaepa on Thursday May 07, 2015 @11:22AM (#9505704)
You use ctl+s as your bind?
Re:Tmux 2.0 released by jkyle on Thursday May 07, 2015 @11:57AM (#9505976)
I use ctrl+s on my local config and I use ctrl+a on my remote tmux.conf's.

That way I can attach to a remote tmux in a local session and not produce a terminal muxing singularity that swallows worlds.

Re:Tmux 2.0 released by thedaemon on Thursday May 07, 2015 @12:09PM (#9506092)
I made the mistake of having the same hotkey once. I can verify the existence of said singularity.
Re:Tmux 2.0 released by smw on Thursday May 07, 2015 @03:16PM (#9507545)
Using ` as my bind (no modifier) has been the best thing that's ever happened to my productivity in tmux.
Re:Tmux 2.0 released by jwhitlark on Thursday May 07, 2015 @05:46PM (#9508532)
I do the same, and also set up many ` commands to work the same way in emacs.
Re:Tmux 2.0 released by rylee on Thursday May 07, 2015 @12:16PM (#9506157)
Consider using <C-Space>. I recently switched and it's made a world of difference to my speed.
Re:Tmux 2.0 released by mifix on Friday May 08, 2015 @03:11AM (#9510367)
Even faster, I set my prefix to just Caps-Lock. See https://github.com/mifix/dotfiles/blob/master/tmux.conf#L5
Re:Tmux 2.0 released by olalonde on Thursday May 07, 2015 @12:59PM (#9506516)
Amen. This, plus remapping Caps Lock to Ctrl on my Macbook Air was a life changer :)
Re:Tmux 2.0 released by msutherl on Thursday May 07, 2015 @04:21PM (#9507996)
FWIW, I spent some time deciding what to use years ago and decided on <C-j>. No complaints, and <C-s> feels awkward to me trying it now.
Re:Tmux 2.0 released by jbnicolai on Thursday May 07, 2015 @11:28AM (#9505747)
I do. It's closer to the prefix/leader I was used to when using screen (<C-a>), and I find it easier to type.
Re:Tmux 2.0 released by aclissold on Thursday May 07, 2015 @11:55AM (#9505961)
Ahhhh. Maybe I'll switch from <C-a> to <C-s>, I still miss using <C-a> in Vim to increment integers!
Re:Tmux 2.0 released by jbnicolai on Thursday May 07, 2015 @11:56AM (#9505968)
Exactly! And don't forget about <C-a> to move your cursor to the start-of-line in your terminal.
Re:Tmux 2.0 released by JoshTriplett on Thursday May 07, 2015 @11:30AM (#9505770)
Why not use C-a?
Re:Tmux 2.0 released by St-Clock on Thursday May 07, 2015 @11:41AM (#9505849)
I also use C-s on my local machine because:

1. I can still use C-a with readline (go to first character)

2. If I ssh and then use screen, I can use C-a to navigate my remote screen and C-s to navigate my local tmux.

3. C-s is closer to C-a then other letters on my keyboard.

Re:Tmux 2.0 released by e3b0c on Thursday May 07, 2015 @10:59PM (#9509763)
C-a still works with readline. You just need to C-a first to 'escape' tmux and then C-a again. Actually just hold ctrl and hit 'a' twice.

C-s will suspend the terminal on some platforms. (Which can be resumed by C-q.)

Re:Tmux 2.0 released by maw on Thursday May 07, 2015 @01:07PM (#9506594)
Because C-a already does something useful.
Re:Tmux 2.0 released by GrandTheftR on Thursday May 07, 2015 @11:35AM (#9505800)
I assume ctrl-s is easier to press than ctrl-a, I have trouble with ctrl-a on Mac with reconfigured CapsLock, and my bind key is ctrl-space.
Re:Tmux 2.0 released by Lio on Friday May 08, 2015 @03:42AM (#9510431)
That's why I remap the right alt key on mac (laptops) to ctrl. Having left right balanced ctrl keys is much more important for my workflow.
Re:Tmux 2.0 released by jbnicolai on Thursday May 07, 2015 @11:55AM (#9505959)
For a while I ran a setup where I did all of my work in a local tmux session, but part of this work involved SSH-ing and attaching to a screen session.

When using both, especially nested, I found it beneficial to have a different leader for each.

I also use <^-a> to go to the start of the line, so I'd miss that.

Re:Tmux 2.0 released by eddiezane on Thursday May 07, 2015 @12:18PM (#9506173)
I use `bind a send-prefix` and do a `<^-a> a` to make up for the bind :)
Re:Tmux 2.0 released by ghshephard on Thursday May 07, 2015 @12:36PM (#9506333)
Ctl+s is particularly nice if you've remapped CapsLock to Ctl.