summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc23
1 files changed, 18 insertions, 5 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 9c83543..fe64d99 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -346,11 +346,24 @@ endif
set t_Co=256
"" Colorscheme
-silent! colo $COLORSCHEME
-if $BACKGROUND=="dark"
- set background=dark
-elseif $BACKGROUND=="light"
- set background=light
+let hostname = substitute(system('hostname'), '\n', '', '')
+
+if hostname == "navajo"
+ silent! colo $COLORSCHEME
+ if $BACKGROUND=="dark"
+ set background=dark
+ elseif $BACKGROUND=="light"
+ set background=light
+ endif
+
+ if $COLORSCHEME=="solarized"
+ let g:airline_theme='base16'
+ else
+ let g:airline_theme=$COLORSCHEME
+ endif
+else
+ color nord
+ let g:airline_theme="nord"
endif
"" Autocommands