disabled nerdtree

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

View File

@ -1,10 +1,2 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =8
let g:netrw_dirhist_1='/home/ray/.config/vim'
let g:netrw_dirhist_2='/home/ray/.config/vim/vim'
let g:netrw_dirhist_3='/home/ray/.config/vim'
let g:netrw_dirhist_4='/home/ray/.config/vim/vim/colors'
let g:netrw_dirhist_5='/home/ray/.config/vim'
let g:netrw_dirhist_6='/home/ray/.config/vim/.git'
let g:netrw_dirhist_7='/home/ray/.config/vim'
let g:netrw_dirhist_8='/home/ray/.config/vim/vim'
let g:netrw_dirhist_cnt =0

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>