3 ms·
# remap prefix from 'C-b' to 'C-a' Still hate the tmux devs for that default value, but hell there is so much good they did, so I can forgive them that :D
by JepZ 9y ago
# remap prefix from 'C-b' to 'C-a'
Still hate the tmux devs for that default value, but hell there is so much good they did, so I can forgive them that :D
- empthought 9y agoC-a is a non-starter for people who use Emacs/OS X key bindings for move-beginning-of-line.
- simtel20 9y agoC-b is pretty bad for the same reason for users like me with with well-worn emacs key memory. I end up using the backtick, but it does make sharing a session that little bit more difficult.
- drunner 9y agoadding bind C-a send-prefix to your .tmux.conf file will allow you to type C-a twice and still get to the front of the line
- u801e 9y agoI'm not sure about tmux, but you can still move to the beginning of the line by pressing C-a a in screen.
- staz 9y agothe urban legend is that they were developing and testing tmux inside of screen, which is why they needed a different prefix
- JepZ 9y agoActually, it is not just urban legend but part of their FAQ ;-) https://github.com/tmux/tmux/wiki/FAQ#why-is-c-b-the-prefix-key-how-do-i-change-it https://github.com/tmux/tmux/wiki/FAQ#why-is-c-b-the-prefix-... Nevertheless, I think they should have changed that in the release version and configure their dev environment. After all, it is pretty uncommon to run tmux inside screen for most use-cases.