我在mac下使用的vim配置有顯示樹形目錄結構
1 Vim
無需多說,Mac&Linux下最好用的編輯器之一。
Mac和大多數Linux都自帶Vim
2 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 - NERDTree
Vim插件,裝了這個插件,便可以顯示樹形目錄結構。
https://github.com/scrooloose...
安裝命令:git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
重啓Vim,在命令模式下輸入NERDTree即可開啓目錄展示,默認是當前路徑。:NERDTree
linux下通用