add tmux plugin: prefix_highlight
This commit is contained in:
14
.tmux.conf
14
.tmux.conf
@@ -33,7 +33,6 @@ set -g mouse-select-pane on
|
||||
set -g mouse-resize-pane
|
||||
set -g mouse-select-window on
|
||||
|
||||
|
||||
##########################################
|
||||
### Styling
|
||||
##########################################
|
||||
@@ -54,7 +53,7 @@ set -g status-fg colour137
|
||||
set -g status-attr dim
|
||||
set -g status-left ''
|
||||
set -g status-left-length 20
|
||||
set -g status-right "#[fg=colour233,bg=colour245,bold] #(tmux-mem-cpu-load -g 5 --interval 1) %H:%M:%S "
|
||||
set -g status-right "#{prefix_highlight} #[fg=colour233,bg=colour245,bold] #(tmux-mem-cpu-load -g 5 --interval 1) %H:%M:%S "
|
||||
set -g status-right-length 60
|
||||
|
||||
# messaging
|
||||
@@ -138,3 +137,14 @@ bind-key C-b last-window
|
||||
|
||||
# special settings for MacOS
|
||||
if-shell 'test "$(uname)" = "Darwin"' 'source ~/.tmux-osx.conf'
|
||||
|
||||
##########################################
|
||||
### Plugins
|
||||
##########################################
|
||||
|
||||
# prefix_highlight (https://github.com/tmux-plugins/tmux-prefix-highlight)
|
||||
run-shell ~/.tmux/prefix_highlight.tmux
|
||||
set -g @prefix_highlight_fg 'white' # default is 'colour231'
|
||||
set -g @prefix_highlight_bg 'blue' # default is 'colour04'
|
||||
set -g @prefix_highlight_show_copy_mode 'on'
|
||||
set -g @prefix_highlight_copy_mode_attr 'fg=black,bg=yellow,bold' # default is 'fg=default,bg=yellow'
|
||||
Reference in New Issue
Block a user