dot-tmux
This is my tmux configuration.
Feel free to use it as a starting point for your own tmux configuration!
Small changes on the configuration can be made in the local config file.
~/.local/tmux/tmux.conf
Install
Requirements: Ellipsis (>=v1.9.0)
,
ellipsis-tpm
$ ellipsis install groggemans/dot-tmux
(Ellipsis-TPM will also be installed if needed)
Plugins
- tmux-plugins/tmux-resurrect
- tmux-plugins/tmux-online-status
- GROG/tmux-plugin-cpu
- GROG/tmux-plugin-mem
- GROG/tmux-plugin-battery
Key bindings
Prefix
Ctrl-a
General
F5
-> Reload tmux configurationF11
-> Toggle status barAlt-;
-> Command-promptPrefix
+:
-> Command-promptPrefix
+?
-> List of key mappingsPrefix
+R
-> Reload tmux configurationPrefix
+s
-> Suspend clientPrefix
+v
-> "Visual" mode (copy-mode)
Dynamic key bindings
Reload the configuration (prefix
+ R
) to go back to the normal bindings.
Prefix
+b
-> Load byobu function key bindingsPrefix
+d
-> Load default key bindingsPrefix
+f
-> Toggle function key bindings
Movement
The movement is vim aware, if you use the vim-tmux-navigator plugin you can seamlessly transfer between vim splits and tmux panes whit the same key bindings.
Ctrl-h
-> To left pane/splitCtrl-j
-> To bottom pane/splitCtrl-k
-> To top pane/splitCtrl-l
-> To right pane/split
Session manipulation
Shift-F9
-> Select sessionShift-F10
-> Rename sessionCtrl-Shift-F2
-> New session
Window manipulation
Prefix
+/
-> Search for windowPrefix
+t
-> Open new windowPrefix
+x
-> Close current windowF2
-> Open new windowF3
-> Go to previous windowF4
-> Go to next windowF9
-> Select sessionF10
-> Rename windowAlt-1
-> Go to window '1'Alt-2
-> Go to window '2'Alt-3
-> Go to window '3'Alt-4
-> Go to window '4'Alt-5
-> Go to window '5'Alt-6
-> Go to window '6'Alt-7
-> Go to window '7'Alt-8
-> Go to window '8'Alt-9
-> Go to window '9'
Pane manipulation
Ctrl-F2
-> New pane (vertical split)Shift-F2
-> New pane (horizontal split)Prefix
+H
-> Resize pane to the leftPrefix
+J
-> Resize pane to the bottomPrefix
+K
-> Resize pane to the topPrefix
+L
-> Resize pane to the right
Plugins
Prefix
+I
-> Install new pluginsPrefix
+U
-> Update installed pluginsAlt-u
-> Clean-up pluggins
Author
By G. Roggemans
License
MIT