install vim file explorer tree

2023-03-29

install vim file explorer tree

install-vim-file-explorer-tree

1. install pathogen runtimepath

1
2
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

info: add execute pathogen#infect() to your ~/.vimrc

2. install nerdtree plugin for vim

1
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree

3. open a NERDTree automatically when vim starts up add

1
autocmd vimenter * NERDTree

to your ~/.vimrc config file