nvim and tmux colors
This commit is contained in:
@@ -34,6 +34,7 @@ vim.cmd([[
|
|||||||
autocmd ColorScheme * highlight Constant ctermfg=3
|
autocmd ColorScheme * highlight Constant ctermfg=3
|
||||||
autocmd ColorScheme * highlight String ctermfg=2
|
autocmd ColorScheme * highlight String ctermfg=2
|
||||||
autocmd ColorScheme * highlight Comment cterm=italic ctermfg=lightgray
|
autocmd ColorScheme * highlight Comment cterm=italic ctermfg=lightgray
|
||||||
|
autocmd ColorScheme * highlight Visual cterm=reverse ctermfg=NONE ctermbg=NONE
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
set notermguicolors
|
set notermguicolors
|
||||||
|
|||||||
@@ -44,7 +44,9 @@ set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl
|
|||||||
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # truecolor underline
|
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # truecolor underline
|
||||||
|
|
||||||
set -g status-style "fg=blue"
|
set -g status-style "fg=blue"
|
||||||
|
# set -g window-status-style "dim"
|
||||||
set -g window-status-current-style "fg=blue"
|
set -g window-status-current-style "fg=blue"
|
||||||
|
set -g pane-border-style "fg=default,dim"
|
||||||
set -g pane-active-border-style "fg=blue"
|
set -g pane-active-border-style "fg=blue"
|
||||||
|
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
@@ -52,18 +54,17 @@ bind -T copy-mode-vi 'v' send -X begin-selection
|
|||||||
bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "pbcopy"
|
bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "pbcopy"
|
||||||
|
|
||||||
# set -g status-right "#(date +'%I:%M %p')"
|
# set -g status-right "#(date +'%I:%M %p')"
|
||||||
set -g status-right "#(date +'%A, %B %d, %Y')"
|
# set -g status-right "#(date +'%A, %B %d, %Y')"
|
||||||
|
set -g status-right ""
|
||||||
|
|
||||||
# Activate OFF mode
|
# Activate OFF mode (hide outer status entirely for nested tmux)
|
||||||
bind o \
|
bind o \
|
||||||
set prefix None \;\
|
set prefix None \;\
|
||||||
set key-table off \;\
|
set key-table off \;\
|
||||||
set status-style "fg=brightblack" \;\
|
set status off
|
||||||
set window-status-current-style "fg=brightblack"
|
|
||||||
|
|
||||||
# Disable OFF mode
|
# Disable OFF mode
|
||||||
bind -T off O \
|
bind -T off O \
|
||||||
set -u prefix \;\
|
set -u prefix \;\
|
||||||
set -u key-table \;\
|
set -u key-table \;\
|
||||||
set -u status-style \;\
|
set -u status
|
||||||
set -u window-status-current-style
|
|
||||||
|
|||||||
Reference in New Issue
Block a user