cd ~
git clone --recursive git@github.com:degete/tmux-conf.git ~/.tmux
ln -s .tmux/tmux.conf .tmux.conf
~/.tmux/plugins/tpm/scripts/install_plugins.sh
By default, the prefix
is: ⌃ + a.
However, the default ⌃ + b can be used instead, to do so uncomment it on general.conf
- Edit plugins.conf
- Add plugins e.g.:
set -g @plugin '<plugin>'
prefix
+ I install plugins and reload tmux environment
prefix
+ U update plugins
prefix
+ ⌥ + u remove plugins
A set of tmux options that should be acceptable to everyone.
Restore tmux environment after system restart.
prefix
+ ⌃ + s save environment
prefix
+ ⌃ + r restore environment
Continuous saving of tmux environment, automatic tmux start when computer/server is turned on and automatic restore when tmux is started.
⌥ + r reload tmux configuration
prefix
+ < show tmux session menu
prefix
+ > reload tmux pane menu
⌥ + N rename session
⌥ + t new window
⌥ + W kill window
⌥ + ← previous window
⌥ + → previous window
⌥ + n rename window
⌥ + w kill pane
⌥ + d split pane vertical
⌥ + D split pane horizontal
⌥ + ⇧ + ↑ move to upper pane
⌥ + ⇧ + ↓ move to lower pane
⌥ + ⇧ + ← move to left pane
⌥ + ⇧ + → move to right pane
⌥ + z zoom pane