diff options
| author | jdhao <jdhao@hotmail.com> | 2020-09-29 16:09:51 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-09-29 16:09:51 +0800 |
| commit | 85c9c79dc9f21dd8f5b65d6a2a7c2ffd029d65fd (patch) | |
| tree | 569c2993f7032375b784e2105e8f646a6a8c2dc1 | |
| parent | ef9e87ec532675af940a86640bb352422f2de6d3 (diff) | |
Remove nerdtree, I rarely use it
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | plugins.vim | 31 |
2 files changed, 0 insertions, 32 deletions
@@ -29,7 +29,6 @@ itself and the configuration on different platforms (Linux, macOS and Windows). + Fast buffer jump via [vim-sneak](https://github.com/justinmk/vim-sneak). + Fuzzy searching in current project quickly via [LeaderF](https://github.com/Yggdroot/LeaderF). + Beautiful status line via [vim-airline](https://github.com/vim-airline/vim-airline). -+ Powerful file explorer via [Nerdtree](https://github.com/scrooloose/nerdtree). + Tags navigation via [tagbar](https://github.com/majutsushi/tagbar). + ...... diff --git a/plugins.vim b/plugins.vim index 3c0aa04..f652a60 100644 --- a/plugins.vim +++ b/plugins.vim @@ -126,9 +126,6 @@ endif "}} "{{ Navigation and tags plugin -" File explorer for vim -Plug 'preservim/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] } - " Only install these plugins if ctags are installed on the system if executable('ctags') " plugin to manage your tags @@ -494,34 +491,6 @@ endif "}} "{{ Navigation and tags -""""""""""""""""""""""" nerdtree settings """""""""""""""""""""""""" -" Toggle nerdtree window and keep cursor in file window, -" adapted from https://stackoverflow.com/q/24808932/6064933 -nnoremap <silent> <Space>s :NERDTreeToggle<CR>:wincmd p<CR> - -" Reveal currently editted file in nerdtree widnow, -" see https://stackoverflow.com/q/7692233/6064933 -nnoremap <silent> <Space>f :NERDTreeFind<CR> - -" Ignore certain files and folders -let NERDTreeIgnore = ['\.pyc$', '^__pycache__$'] - -" Automatically show nerdtree window on entering nvim, -" see https://github.com/scrooloose/nerdtree. But now the cursor -" is in nerdtree window, so we need to change it to the file window, -" extracted from https://stackoverflow.com/q/24808932/6064933 -" autocmd VimEnter * NERDTree | wincmd l - -" Delete a file buffer when you have deleted it in nerdtree -let NERDTreeAutoDeleteBuffer = 1 - -" Show current root as realtive path from HOME in status bar, -" see https://github.com/scrooloose/nerdtree/issues/891 -let NERDTreeStatusline="%{exists('b:NERDTree')?fnamemodify(b:NERDTree.root.path.str(), ':~'):''}" - -" Disable bookmark and 'press ? for help' text -let NERDTreeMinimalUI=0 - """"""""""""""""""""""""""" tagbar settings """""""""""""""""""""""""""""""""" " Shortcut to toggle tagbar window nnoremap <silent> <Space>t :TagbarToggle<CR> |
