From 60dd105e610bab7cf0bc709114539436722a3add Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 9 Feb 2019 12:43:15 -0500 Subject: Add back Nerdtree. Enable line numers and syntax. Set theme if GUI is running. --- inc/rebinds.vim | 3 ++- init.vim | 12 ++++-------- setup.sh | 3 +++ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/inc/rebinds.vim b/inc/rebinds.vim index 65dfc0e..fb14324 100644 --- a/inc/rebinds.vim +++ b/inc/rebinds.vim @@ -4,7 +4,8 @@ inoremap inoremap inoremap -map :Lex +" map :Lex +map :NERDTreeToggle " To enable/disable the autocomplete dropdown nmap [ :AcpDisable 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 diff --git a/setup.sh b/setup.sh index 9fb77eb..016dc84 100755 --- a/setup.sh +++ b/setup.sh @@ -56,3 +56,6 @@ clone DIR="themes/gruvbox" URL="https://github.com/morhetz/gruvbox" clone +DIR="bundle/nerdtree" +URL="https://github.com/scrooloose/nerdtree" +clone -- cgit v1.2.3