.tmuxist
Tmux for work
Disclaimer: The main features and main work are done by gpakosz. I only added a few features, so the config fits my workflow. Shoutout to @gpakosz.
Features
- Red turning indicator if panes are synced
- Nested remote session aware
- Per pane title
- Vi mode
- Highligt focused pane
In my setting the colors are tweaked to look like gruvbox.
And all features from .tmux
Installation
You can simply use the install script to create some symlinks.
$ cd ~
$ git clone --recursive https://github.com/jbenden/.tmuxist.git
$ ./.tmuxist/install.sh
Or you can use fancy GNU stow (which does pretty much the same)
$ cd ~
$ git clone --recursive https://github.com/jbenden/.tmuxist.git
$ cd .tmuxist/
$ stow tmux
Remote session awareness
That means that you can use the same config on your remote system and on your local system.
- Same keybindings
- Remote status on top / local status on bottom
F12
as toogle key for the local keymap so every keystroke is send to the remote session
On the left side of status-right left from the sync indicator is an indicator that tells you wether the keymap is turnded on or off.
Keybindings
C-b
as prefix keyv
begin selection in visual midey
copy selection in visual mode<prefix> s
toggle pane syncMeta-h
select left paneMeta-j
select lower paneMeta-k
select above paneMeta-l
select right paneMeta-c
new windowMeta-w
enter window choose treeMeta-x
kill paneMeta-v
split window verticalMeta--
split window horizontalMeta-r
rename sessionMeta-X
kill session<prefix c
new session<prefix X
kill sessionMeta-s
enter session choose treeMeta-1
select window 1Meta-2
select window 2Meta-3
select window 3Meta-4
select window 4Meta-5
select window 5Meta-6
select window 6Meta-7
select window 7Meta-8
select window 8Meta-9
select window 9Meta-J
previous -windowMeta-K
next -windowF12
toogle keymap on/off (this only exists on local sessions)
And of course all keymappings from .tmux
Configuration
- For local settings stick to
.tmux.conf.local
- And for settings in ssh sessions only stick to
.tmux.conf.remote