I used to code on Windows using e-texteditor. I find e it’s very useful and light weight, that’s why I like it.
Recently I have to switch to CentOS, so I begin to code using Vim. After hours searching on the Internet, I found NERDTree, a Vim plugin that makes Vim very comfortable. NERDTree provides a folder tree on the left hand side for you to navigate. Moreover you can set your personal options to make your own working enviorenment.
Personally, after setting these options, I think Vim on Centos becomes e-texteditor on Windows, which is my favorite editor.
You can download NERDTree here:
– extract the .zip file to ~/.vim
– enter Vim and enter “:NERDTree” to show folder
Add these options to your .vimrc file to customize NERDTree:
map <C-l> gt " shortcut for next tab
map <C-h> gT " previous tab
map <C-n> :tabnew " new tab
autocmd VimEnter * NERDTree ” enter NERDTree automatically when entering VIM
autocmd BufEnter * NERDTreeMirror ” add folder tree to the left hand side for each tab
autocmd VimEnter * wincmd p ” not sure, seems to add color :D