/dot-tmux

My tmux configuration - [ Ellipsis package ]

Primary LanguageShellMIT LicenseMIT

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

Key bindings

Prefix

  • Ctrl-a

General

  • F5 -> Reload tmux configuration
  • F11 -> Toggle status bar
  • Alt-; -> Command-prompt
  • Prefix + : -> Command-prompt
  • Prefix + ? -> List of key mappings
  • Prefix + R -> Reload tmux configuration
  • Prefix + s -> Suspend client
  • Prefix + 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 bindings
  • Prefix + d -> Load default key bindings
  • Prefix + 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/split
  • Ctrl-j -> To bottom pane/split
  • Ctrl-k -> To top pane/split
  • Ctrl-l -> To right pane/split

Session manipulation

  • Shift-F9 -> Select session
  • Shift-F10 -> Rename session
  • Ctrl-Shift-F2 -> New session

Window manipulation

  • Prefix + / -> Search for window
  • Prefix + t -> Open new window
  • Prefix + x -> Close current window
  • F2 -> Open new window
  • F3 -> Go to previous window
  • F4 -> Go to next window
  • F9 -> Select session
  • F10 -> Rename window
  • Alt-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 left
  • Prefix + J -> Resize pane to the bottom
  • Prefix + K -> Resize pane to the top
  • Prefix + L -> Resize pane to the right

Plugins

  • Prefix + I -> Install new plugins
  • Prefix + U -> Update installed plugins
  • Alt-u -> Clean-up pluggins

Author

By G. Roggemans

License

MIT