1
0
Fork 0

vim, tmux: revert to powerline symbols, also minor tweaks to vim theme

This commit is contained in:
Von Random 2022-07-30 15:48:35 +03:00
parent cc276c7b19
commit 8df0034baf
2 changed files with 10 additions and 5 deletions

View file

@ -37,7 +37,7 @@ set -g message-style "bg=blue,fg=white"
set -g message-command-style "bg=red,fg=white"
set -g status on
set -g status-style "fg=black,bg=white"
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]#{W: #I:#W ,#[reverse] #I:#W #[noreverse]}#[align=right]#[reverse] %a %e %k:%M "
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]\ue0b0 #{W: #I:#W ,#[reverse] #I:#W #[noreverse]} #[align=right]\ue0b2#[reverse] %a %e %k:%M "
set -g status-interval 2
set -g status-position "bottom"
set -g status-justify "left"
@ -45,5 +45,5 @@ set -g status-left-length "100"
set -g status-right-length "100"
# relevant to local only
set -g terminal-overrides "alacritty:Tc,foot:Tc,kitty-xterm:Tc,xterm-256color:Tc,rxvt-unicode*:Tc"
set -g terminal-overrides "alacritty:Tc,kitty-xterm:Tc,xterm-256color:Tc,rxvt-unicode*:Tc"
set -g default-terminal "tmux-256color"

View file

@ -20,9 +20,11 @@ endif
if theme == 'gruvbox8'
call EnableTGC()
let themebg = 'dark'
let g:gruvbox_transp_bg = 1
let g:gruvbox_plugin_hi_groups = 1
let g:gruvbox_filetype_hi_groups = 1
let themebg = 'dark'
endif
if theme == 'solarized8'
@ -75,12 +77,15 @@ nmap <Leader>ft :Filetypes<CR>
let g:vimwiki_list = [{'path': '$HOME/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]
" lightline
let g:lightline = {}
let g:lightline = {
\ 'separator': {'left': "\ue0b0", 'right': "\ue0b2"},
\ 'subseparator': {'left': "\ue0b1", 'right': "\ue0b3"}
\ }
let g:lightline['colorscheme'] = printf(lightline_theme)
if $TERM !~ '^linux'
if has('gui_running')
set guifont=Cascadia\ Mono\ PL:h16
set guifont=Cascadia\ Code\ PL:h16
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
set guiheadroom=0 guioptions=aei mouse=a