tmux-dev-env-configuration/dotfiles/.config/nvim/plugconfig/preservim/nerdtree.vim

31 lines
2.7 KiB
VimL
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

" NERDTree -----------------------------
" Better file browser
Plug 'preservim/nerdtree'
" toggle nerdtree display
map <C-n> :NERDTreeToggle<CR>
" open nerdtree with the current file selected
nmap <leader><C-n> :NERDTreeFind<CR>
"Special close
nmap <C-c> :NERDTreeClose<CR>
" don't show these file types
let NERDTreeIgnore = ['\.pyc$', '\.pyo$']
" Below is an fzf search of :Commands 'NERD'"
"NERDTreeVCS? dir :call <SNR>60_CreateTabTreeVCS('<args>') │
"NERDTreeToggleVCS? dir :call <SNR>60_ToggleTabTreeVCS('<args>') │
"NERDTreeToggle? dir :call g:NERDTreeCreator.ToggleTabTree('<args>') │
"NERDTreeRefreshRoot0 call s:refreshRoot() │
"NERDTreeMirror0 call g:NERDTreeCreator.CreateMirror() │
"NERDTreeFromBookmark1 customlist call g:NERDTreeCreator.CreateTabTree('<args>') │
"NERDTreeFocus0 call NERDTreeFocus() │
"NERDTreeFind? file call s:findAndRevealPath('<args>') │
"NERDTreeClose0 :call g:NERDTree.Close() │
"NERDTreeCWD0 call NERDTreeCWD() │
"NERDTree ? dir :call g:NERDTreeCreator.CreateTabTree('<args>')