(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:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".split("") | |
| base = alphabet.length | |
| exports.encode = (i) -> | |
| return alphabet[0] if i is 0 | |
| s = "" | |
| while i > 0 | |
| s += alphabet[i % base] | |
| i = parseInt(i / base, 10) |
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |