mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
Assume no dark/light mode via ssh
This commit is contained in:
parent
336a7c8d29
commit
b21e9981e3
1 changed files with 11 additions and 6 deletions
17
vimrc
17
vimrc
|
|
@ -48,13 +48,18 @@ if !has('gui_running')
|
|||
set ttymouse=sgr
|
||||
end
|
||||
set background=light
|
||||
colorscheme smpl
|
||||
|
||||
"use terminal background
|
||||
"hi Normal ctermbg=none
|
||||
"hi todo ctermbg=none
|
||||
"hi statement ctermbg=none
|
||||
"hi LineNr ctermbg=none
|
||||
if $SSH_CLIENT
|
||||
colorscheme smpl
|
||||
else
|
||||
colorscheme nofrils-dark
|
||||
|
||||
"use terminal background
|
||||
hi Normal ctermbg=none
|
||||
hi todo ctermbg=none
|
||||
hi statement ctermbg=none
|
||||
hi LineNr ctermbg=none
|
||||
endif
|
||||
endif
|
||||
|
||||
" Appearance tweaks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue