DEV Community

Discussion on: tmux: 13 Cool Tweaks to Make It Personal and Powerful

Collapse
jeklah profile image
Jeklah

Am I the only one who quite likes ctrl b as my tmux key?!

Also you can use ctrl d to kill a pane instantly. It will also close a window if it only has 1 pane. I often close my tmux sessions by ctrl d d d.

Collapse
waylonwalker profile image
Waylon Walker

I've had mine as ctrl-b for years and switched to crtl space this year to match my vim leader. Doesn't matter too much either way to me.

Collapse
venfah profile image
Venfah

I normally use ctrl + q as prefix because ctrl +q require two hands and ctrl + a is needed in bash to arrive to begining of the line.

Collapse
z4rx profile image
Zolkin Andrew

You can double press ctrl + a and tmux will understand it as simple bash ctrl+a.

Collapse
krishnam profile image
Balamurugan Krishnamoorthy (Bala) Author • Edited on

ctrl + a is needed in bash to arrive to begining of the line.

we can use "send prefix" to make sure ctrl+a for bash is not affected. But, I understand it will lead to two steps approach. Let me try Ctr+q or I want to try with tilde also instead of a.

Thread Thread
z4rx profile image
Zolkin Andrew

Ctrl+space is also very popular prefix

Collapse
eduardoweiland profile image
Eduardo Weiland

I use ctrl+b too. It was the default and I got used to it, I don't see any reason to change it now.

Collapse
krishnam profile image
Balamurugan Krishnamoorthy (Bala) Author

I often close my tmux sessions by ctrl d d d.

This is what I used to do. Later, setting up single key seems simple to use for me.