oh-my-tmux
Properties
- created-by
- Person/Grégory Pakosz
gpakosz/.tmux: Oh my tmux! My self-contained, pretty & versatile tmux configuration
- this is essentially a Distro for tmux
Instructions
Guidelines
- 🚨 You should never alter the main .tmux.conf file. If you do, you're on your own. Instead, every customization should happen in your .tmux.conf.local copy.
- set EnvVar/VISUAL or EnvVar/EDITOR to vim to enable
vi-styleKeyshorts.
Recommendations
If you're new to tmux, I recommend you to read the tmux/Docs/Getting Started, as well as the Person/Brian P. Hogan/Book/25/tmux 3
- Person/Grégory Pakosz/GitHub/.vim
Bindings
- tmux may be controlled from an attached client by using a key combination of a prefix key, followed by a command key. This configuration uses
C-aas a secondary prefix while keepingC-bas the default prefix. In the following list of key bindings: <prefix>means you have to either hit Ctrl + a or Ctrl + b<prefix> cmeans you have to hit Ctrl + a or Ctrl + b followed by c<prefix> C-cmeans you have to hit Ctrl + a or Ctrl + b followed by Ctrl + c- This configuration uses the following bindings:
<prefix> eopens the.localcustomization file copy with the editor defined by theVISUALorEDITORenvironment variable (defaults tovimwhen empty)<prefix> rreloads the configurationC-lclears both the screen and the tmux history<prefix> C-ccreates a new session<prefix> C-flets you switch to another session by name<prefix> C-hand<prefix> C-llet you navigate windows (default<prefix> nis unbound and<prefix> pis repurposed)<prefix> Tabbrings you to the last active window<prefix> -splits the current pane vertically<prefix> _splits the current pane horizontally<prefix> h,<prefix> j,<prefix> kand<prefix> llet you navigate panes ala Vim<prefix> H,<prefix> J,<prefix> K,<prefix> Llet you resize panes<prefix> <and<prefix> >let you swap panes<prefix> +maximizes the current pane to a new window<prefix> mtoggles mouse mode on or off<prefix> Ulaunches Urlscan (preferred) or Urlview, if available<prefix> Flaunches Facebook PathPicker, if available<prefix> Enterenters copy-mode<prefix> blists the paste-buffers<prefix> ppastes from the top paste-buffer<prefix> Plets you choose the paste-buffer to paste from
- Additionally,
copy-mode-vimatches my own Vim configuration - Bindings for
copy-mode-vi: - It's also possible to preserve the tmux stock bindings by setting the
tmux_conf_preserve_stock_bindingsvariable totruein your.localcustomization file copy.
- tmux may be controlled from an attached client by using a key combination of a prefix key, followed by a command key. This configuration uses