我在mac下使用的vim配置有显示树形目录结构
1 Vim无需多说,Mac&Linux下最好用的编辑器之一。Mac和大多数Linux都自带Vim2 Vim Configuration配置可以直接使用网友共享的优化配置:https://github.com/amix/vimrc安装命令:
git clone –depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
3 Vim Plugins – NERDTreeVim插件,装了这个插件,便可以显示树形目录结构。https://github.com/scrooloose…安装命令:git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
重启Vim,在命令模式下输入NERDTree即可开启目录展示,默认是当前路径。:NERDTree
linux下通用
发表回复