Configure vim to respect $HOME/.dark file

This commit is contained in:
Talia 2020-08-17 17:27:04 +02:00
parent 4b8e4a2722
commit 0fa454aadb

View file

@ -50,6 +50,12 @@ com! Iceberg colorscheme iceberg
com! Papercolor colorscheme PaperColor | delc PaperColor com! Papercolor colorscheme PaperColor | delc PaperColor
com! Firewatch colorscheme two-firewatch com! Firewatch colorscheme two-firewatch
if filereadable($HOME."/.dark")
Dark
else
Light
end
if $TERM=="xterm-kitty" if $TERM=="xterm-kitty"
Arcadia Arcadia
end end