4 ms·
I've always found screen's ctrl-a is so much easier to reach for than tmux's ctrl-b. I recommend re-mapping ctrl-b to ctrl-a
by fouc 1y ago
I've always found screen's ctrl-a is so much easier to reach for than tmux's ctrl-b. I recommend re-mapping ctrl-b to ctrl-a
- _kst_ 1y agoI use Ctrl-Space. unbind-key C-b set -g prefix C-Space bind-key C-Space send-prefix I find it a lot easier to type than either Ctrl-A or Ctrl-B.
- cyberpunk 1y agoThe real superpower prefix key is ` especially if you have a british mac keyboard.
- __david__ 1y agoBoth C-a and C-b are so commonly used that I don’t like either of them. I ended up going with C-\ since I only rarely use that one.
- anthk 1y agoI just remapped the keys to ctrl-z after I swapped ctrl and caps lock. As you'd never suspend stuff under tmux for obvious reasons, you'll get the whole keyset for any cli/tui software.
- rcakebread 1y agoI'll bite. What's so obvious? I suspend jobs in bash all the time while using tmux.
- anthk 1y agoOften TMUX it's for tasks you woudn't suspend. And, if any, you can just use kill -STOP and kill -CONT among other signals from another tmux pane.
- deleted 1y ago[deleted]
- fireflash38 1y agoOr if you want to stay in same pane, (chord, I still use C-b), :, "send-keys C-z"
- fouc 1y agopinky on caps and ring finger on z ?
- crabsand 1y ago+1. Was using screen with this and now tmux for the last 15 years maybe.
- ornornor 1y agoI use tmux to replace terminal emulator tabs, I also suspend jobs all the time (most notably vim to run git commands) In any case with your bindings you can still C-z z and it sends C-z to the process.
- saagarjha 1y agoI never really understood the people who use these keybinds. Do you not use it to go to the start of the line?
- scuderiaseb 1y agoPersonally no, I use vim keybindings in the terminal not emacs which is the default.
- Biganon 1y agoCtrl-a and then a still goes to the start of the line.
- benreesman 1y agoI've had it on C-o forever to mostly stay out of readline's way, but I've been dabbling with C-Space.