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_dirhistmax =10
let g:netrw_dirhist_cnt =8 let g:netrw_dirhist_cnt =0
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'

20
vimrc
View File

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