(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| # Save this file (after modifying ID_VENDOR and ID_MODEL if necessary) as /etc/udev/rules.d/81-thinkpad-dock.rules | |
| # These values seem to work for "ThinkPad Mini Dock Plus Series 3" | |
| SUBSYSTEM=="usb", ACTION=="add|remove", ENV{ID_VENDOR}=="17ef", ENV{ID_MODEL}=="100a", RUN+="/etc/sbin/thinkpad-dock.sh" |
| ! emulate XTerm for proper recognition of key combinations in Vim | |
| !URxvt.keysym.Up : \033[A !breaks arrow keys in Vim | |
| !URxvt.keysym.Down : \033[B !breaks arrow keys in Vim | |
| !URxvt.keysym.Right : \033[C !breaks arrow keys in Vim | |
| !URxvt.keysym.Left : \033[D !breaks arrow keys in Vim | |
| !URxvt.keysym.Page_Up : \033[5~ !breaks scrolling in Rxvt | |
| !URxvt.keysym.Page_Down : \033[6~ !breaks scrolling in Rxvt | |
| !URxvt.keysym.Home : \033[H !breaks navigation in Vim | |
| !URxvt.keysym.End : \033[F !breaks navigation in Vim | |
| URxvt.keysym.S-Up : \033[1;2A |
As configured in my dotfiles.
start new:
tmux
start new with session name: