Add color switching
This commit is contained in:
3
nvim/.gitignore
vendored
3
nvim/.gitignore
vendored
@@ -6,3 +6,6 @@ __pycache__/
|
||||
bundle/*
|
||||
!bundle/Vundle.vim
|
||||
*.swp
|
||||
|
||||
# Prevent changes to propagate to all systems
|
||||
scheme.vim
|
||||
|
||||
@@ -85,7 +85,11 @@ set t_Co=256
|
||||
"set term=screen-256color
|
||||
|
||||
" Color configuration
|
||||
colorscheme badwolf " some color ..
|
||||
try
|
||||
source ~/.config/nvim/scheme.vim
|
||||
catch
|
||||
" Ignore non existing file
|
||||
endtry
|
||||
syntax enable " enable syntax processing
|
||||
|
||||
" Disable annoying bell
|
||||
|
||||
2
nvim/scheme.vim
Normal file
2
nvim/scheme.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
set background=dark
|
||||
colorscheme badwolf
|
||||
Reference in New Issue
Block a user