Add hints overlay
This commit is contained in:
parent
eead10c9fa
commit
ec6fb501dc
2 changed files with 16 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
|||
# Custom Prefix
|
||||
set -g prefix C-space
|
||||
|
||||
# Shortcut to custom hints
|
||||
bind-key -n C-h run-shell "tmux popup -xC -yC -w50% -h75% 'cat ~/.tmux/hints'"
|
||||
|
||||
# Shortcut to sync panes
|
||||
bind C-x setw synchronize-panes
|
||||
|
||||
|
@ -56,6 +59,8 @@ set -g status-style bg='#222222',fg='#AD7FA8'
|
|||
|
||||
# Status
|
||||
set -g status-left '#{?client_prefix,#[fg=#008b8b]█, }'
|
||||
set -g status-right '#[fg=#ad7fa8]#(hostname -I | cut -d" " -f1) %Y-%m-%d %H:%M'
|
||||
#hostname -I | cut -d' ' -f1
|
||||
set -g status-interval 1
|
||||
set-window-option -g window-status-style fg='#008b8b',bg=default
|
||||
set-window-option -g window-status-current-style fg='#222222',bg='#ad7fa8'
|
||||
|
|
11
.tmux/hints
Normal file
11
.tmux/hints
Normal file
|
@ -0,0 +1,11 @@
|
|||
Prefix
|
||||
C-x Sync Panes
|
||||
C-R Reload tmux
|
||||
c New Console
|
||||
, Rename Console
|
||||
z Zoom Pane
|
||||
|
||||
No Prefix
|
||||
C-S-> Next Console
|
||||
C-S-< Prev Console
|
||||
C-arrow Navigate Panes
|
Loading…
Reference in a new issue