aboutsummaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-02-09 12:43:15 -0500
committerMitch Riedstra <mitch@riedstra.us>2019-02-09 12:43:15 -0500
commit60dd105e610bab7cf0bc709114539436722a3add (patch)
tree1f2fc5771f0282ce7f0a8a8212e8163f80ecf06c /init.vim
parentd8bfb4b9fde510af9b3d06b2474c42cc432d1002 (diff)
downloadvim-cfg-60dd105e610bab7cf0bc709114539436722a3add.tar.gz
vim-cfg-60dd105e610bab7cf0bc709114539436722a3add.tar.xz
Add back Nerdtree. Enable line numers and syntax.
Set theme if GUI is running.
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim12
1 files changed, 4 insertions, 8 deletions
diff --git a/init.vim b/init.vim
index 2e07c2b..5b08695 100644
--- a/init.vim
+++ b/init.vim
@@ -25,10 +25,8 @@ set omnifunc=syntaxcomplete#Complete
" P (edit newly selected file in the previous window)
let g:netrw_liststyle=3
-set nonu
" Useful on some terminals, not always supported in old tmux versions
" set termguicolors
-syntax off
" let g:airline_theme="monochrome"
" let g:airline_theme="distinguished"
@@ -40,10 +38,8 @@ colorscheme distinguished
" colorscheme dracula
" colorscheme orbital
-" has a light/dark mode that's very interesting
-" Seems to work best when you have 'termguicolors' set
-" colorscheme gruvbox
-
-set list
-set nu
+if has("gui_running")
+ colorscheme gruvbox
+ set background=light
+endif