disabled nerdtree

This commit is contained in:
ManjaroOne666 2018-02-18 12:29:48 +00:00
commit b3ba8d2474
2 changed files with 11 additions and 19 deletions

20
vimrc
View file

@ -13,8 +13,8 @@ Plugin 'VundleVim/Vundle.vim'
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" Nerdtree and nerdtree-git
Plugin 'scrooloose/nerdtree.git'
Plugin 'Xuyuanp/nerdtree-git-plugin'
" Plugin 'scrooloose/nerdtree.git'
" Plugin 'Xuyuanp/nerdtree-git-plugin'
"css3-syntax
Plugin 'hail2u/vim-css3-syntax.git'
"scss-syntax
@ -443,14 +443,14 @@ let g:UltiSnipsEditSplit='horizontal'
let g:netrw_liststyle=3
" NERDtree
nnoremap <F3> :NERDTreeFocus<CR>
nnoremap <leader>nt :NERDTreeFocus<CR>
nnoremap <leader>nf :NERDTreeFind<CR>
" allow closing if only window open is a NERDTree
augroup nerdtreewindow
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
augroup END
let NERDTreeQuitOnOpen = 1
" nnoremap <F3> :NERDTreeFocus<CR>
" nnoremap <leader>nt :NERDTreeFocus<CR>
" nnoremap <leader>nf :NERDTreeFind<CR>
" " allow closing if only window open is a NERDTree
" augroup nerdtreewindow
" autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
" augroup END
" let NERDTreeQuitOnOpen = 1
" TagBar
nnoremap <leader>tb :TagbarOpen fj<CR>