aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-08-11 07:05:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-08-11 07:05:14 -0300
commitd48fcfa0bded91ce386b1f17bc6f76c9b8ef9243 (patch)
tree18d73e65a11f7ce8155c8b89bca15950b5dd2345
parentf5eb6aeba4e3c2d21fe81b87bcb3bbe19eeb575d (diff)
downloadvim-d48fcfa0bded91ce386b1f17bc6f76c9b8ef9243.tar.gz
vim-d48fcfa0bded91ce386b1f17bc6f76c9b8ef9243.tar.bz2
Disable airline and use zenburn colorscheme when running on console
-rw-r--r--vimrc.dot.link14
1 files changed, 11 insertions, 3 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index b8abd15..fae27eb 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -351,11 +351,19 @@ noremap ,dd zi:.;/^-- $/d<CR>O-- <UP><End><CR><CR><UP><CR><C-O>zi
"colorscheme wood
"colorscheme zenburn
"colorscheme inkpot
-colorscheme xoria256
+if $WINDOWID != ""
+ colorscheme xoria256
+else
+ colorscheme zenburn
+endif
" Airline
-let g:airline_powerline_fonts=1
-let g:airline#extensions#tabline#enabled=1
+if $WINDOWID != ""
+ let g:airline_powerline_fonts=1
+ let g:airline#extensions#tabline#enabled=1
+else
+ let g:loaded_airline = 1
+endif
" Powerline
"python from powerline.vim import setup as powerline_setup