nerdtree
nerdtree,就是一个文件树目录。
配置脚本
"文件树Plug 'scrooloose/nerdtree'Plug 'Xuyuanp/nerdtree-git-plugin'" 文件树设置 { { {" 关闭NERDTree快捷键mapt :NERDTreeToggle ""当NERDTree为剩下的唯一窗口时自动关闭autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif""修改树的显示图标let g:NERDTreeDirArrowExpandable = '►'let g:NERDTreeDirArrowCollapsible = '▼'let NERDTreeAutoCenter=1" 显示行号let NERDTreeShowLineNumbers=1" 是否显示隐藏文件let NERDTreeShowHidden=1" 设置宽度let NERDTreeWinSize=25" 在终端启动vim时,共享NERDTreelet g:nerdtree_tabs_open_on_console_startup=1" 忽略一下文件的显示let NERDTreeIgnore=['\.pyc','\~$','\.swp']let g:NERDTreeIndicatorMapCustom = { \ "Modified" : "✹", \ "Staged" : "✚", \ "Untracked" : "✭", \ "Renamed" : "➜", \ "Unmerged" : "═", \ "Deleted" : "✖", \ "Dirty" : "✗", \ "Clean" : "✔︎", \ 'Ignored' : '☒', \ "Unknown" : "?" \ }" }}}