step 1: vim beginner & NERDTree === ###### tags: `vim` `nerdtree` ## install git, vim sudo apt install git sudo apt install vim sudo apt install curl ## create .vim mkdir -p ~/.vim/autoload ~/.vim/bundle ## install vim-pathogen GITHUB: https://github.com/tpope/vim-pathogen mkdir -p ~/.vim/autoload ~/.vim/bundle && \curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim Edit .vimrc : vim ~/.vimrc 輸入 execute pathogen#infect() syntax on filetype plugin indent on 安裝plugin, 將plugin git clone到 ~/.vim/bundle下 如: ## install nerdtree GITHUB: https://github.com/preservim/nerdtree 可以在vim中以樹狀顯示檔案目錄 cd ~/.vim/bundle git clone https://github.com/preservim/nerdtree.git 開啟vim, 在vim cmd(輸入冒號 ':' )中輸入 NERDTree :NERDTree