Intended Audience: tmux users (beginner) or who read the part one of my "Command Line Happiness" post or looking for best tips & tricks.
Why ...
For further actions, you may consider blocking this person and/or reporting abuse
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.
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.
This is what I used to do. Later, setting up single key seems simple to use for me.
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.
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.
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.
Ctrl+space is also very popular prefix
You can double press ctrl + a and tmux will understand it as simple bash ctrl+a.
I already use most of these settings. Tips 7, 8 and 9 (regarding pane management) are a must.
For people that use Vim/Nvim, it can get even better with vim-tmux-navigator, so it's possible to navigate seamlessly between tmux panes and vim splits.
That's a great article, you've described everything I'm using :)
I had no idea tmux could take screenshots, I gotta check that out.
using
capture-pane
, we can make that work like screenshot by auto-saving the buffer to file