tmux: better highlight active pane and add hotkeys for synchronize-panes
This commit is contained in:
parent
e1b65252cc
commit
3ffa6750f1
1 changed files with 10 additions and 0 deletions
|
@ -15,6 +15,16 @@
|
||||||
bind -n M-l select-pane -R
|
bind -n M-l select-pane -R
|
||||||
bind -n M-k select-pane -U
|
bind -n M-k select-pane -U
|
||||||
bind -n M-j select-pane -D
|
bind -n M-j select-pane -D
|
||||||
|
|
||||||
|
# Better marking of active windo
|
||||||
|
set-option -g pane-active-border-style fg=purple
|
||||||
|
set-option -g pane-border-lines double
|
||||||
|
|
||||||
|
# Synchonized panes
|
||||||
|
set -g @inactive_bg '#012938'
|
||||||
|
bind-key S setw synchronize-panes
|
||||||
|
bind-key e select-pane -e -P "bg=off"
|
||||||
|
bind-key d select-pane -d -P "bg=#{@inactive_bg}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue