Update vim with ack, git, keybindings, nerdtree

This commit is contained in:
2021-06-16 16:30:55 -05:00
parent 51d1be03bd
commit 143ec2f33f
7 changed files with 72 additions and 23 deletions

7
nvim/nerdtree Normal file
View File

@ -0,0 +1,7 @@
augroup CustomNERDTree
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
autocmd Filetype nerdtree,tagbar setlocal signcolumn=no nocursorline norelativenumber
augroup END
noremap <Leader>d :NERDTreeToggle<CR>