Add colorscheme switching and airline/tmux autoset
Use <leader><F8> to set a new colorscheme in vim. The airline automatically sets itself to the corresponding colorscheme, as does the tmux statusbar at the bottom. Use <F8> to toggle between dark and light mode for the colorscheme (not all colorschemes support this unfortunately, I might restrict the installed colorschemes to those that do). Again, Airline and tmuxline will automatically adjust themselves. Tmux prefix highlight plugin has been removed, since its functionality can be replicated easily with the ?client_prefix function in tmux - which also works regardless of any styles applied to the statusbar through tmuxline. Currently, whenever the prefix is active the clock-area will turn bright blue.
This commit is contained in:
parent
b3db50f03b
commit
15e63044db
2 changed files with 11 additions and 7 deletions
|
|
@ -51,7 +51,6 @@ set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
|
|||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
||||
set -g @plugin 'Morantron/tmux-fingers'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
|
|
@ -154,7 +153,7 @@ setw -g window-status-style fg="#c8c8c8",bg="#2e2e2e","none"
|
|||
setw -g window-status-activity-style bg="#2e2e2e",fg="#c8c8c8","underscore"
|
||||
setw -g window-status-separator ""
|
||||
set -g status-left "#[fg=#c8c8c8,bg=#2e2e2e] #S #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #(whoami) #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #I:#P #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]"
|
||||
set -g status-right "#[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#{prefix_highlight} #[fg=#c8c8c8,bg=#2e2e2e] %H:%M:%S #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] %d-%b-%y #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #H "
|
||||
set -g status-right "#[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics] #[fg=#c8c8c8,bg=#2e2e2e] #{?client_prefix,#[fg=colour232]#[bg=brightblue],} %H:%M:%S #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] %d-%b-%y #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #H "
|
||||
setw -g window-status-format "#[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[default] #I #W #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]"
|
||||
setw -g window-status-current-format "#[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]#[fg=#c8c8c8,bg=#2e2e2e] #I #W #[fg=#2e2e2e,bg=#2e2e2e,nobold,nounderscore,noitalics]"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue