diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-02-09 12:43:15 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-02-09 12:43:15 -0500 |
| commit | 60dd105e610bab7cf0bc709114539436722a3add (patch) | |
| tree | 1f2fc5771f0282ce7f0a8a8212e8163f80ecf06c | |
| parent | d8bfb4b9fde510af9b3d06b2474c42cc432d1002 (diff) | |
| download | vim-cfg-60dd105e610bab7cf0bc709114539436722a3add.tar.gz vim-cfg-60dd105e610bab7cf0bc709114539436722a3add.tar.xz | |
Add back Nerdtree. Enable line numers and syntax.
Set theme if GUI is running.
| -rw-r--r-- | inc/rebinds.vim | 3 | ||||
| -rw-r--r-- | init.vim | 12 | ||||
| -rwxr-xr-x | 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 <Right> <NOP> inoremap <Up> <NOP> inoremap <Down> <NOP> -map <C-n> :Lex<CR> +" map <C-n> :Lex<CR> +map <C-n> :NERDTreeToggle<CR> " To enable/disable the autocomplete dropdown nmap <leader> [ :AcpDisable<CR> @@ -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 @@ -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 |
