As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| # Our .tmux.conf file | |
| # Setting the prefix from C-b to C-s | |
| set -g prefix C-s | |
| # Free the original Ctrl-b prefix keybinding | |
| unbind C-b | |
| #setting the delay between prefix and command | |
| set -sg escape-time 1 | |
| # Ensure that we can send Ctrl-S to other apps | |
| bind C-s send-prefix |
| # use C-a, since it's on the home row and easier to hit than C-b | |
| set-option -g prefix C-a | |
| unbind-key C-a | |
| bind-key C-a send-prefix | |
| set -g base-index 1 | |
| # Easy config reload | |
| bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." | |
| # vi is good |