Blog

Currently showing blog posts in October 2014. For all blog posts, please click here.

Installing NERDTree plugin for vim

How to install NERDTree plugin for vim editor

1. To Install NERDTree plugin РVisit GitPage

cd ~/.vim/bundle 
git clone https://github.com/jistr/vim-nerdtree-tabs.git

—————————-

Open NERDTree on gvim/macvim startup

g:nerdtree_tabs_open_on_gui_startup

Have problem?

Some times you will see this in NERDTree “?~V?”, don’t worry here is the fix for it.

Adding the following to your bashrc / zshrc

export LC_ALL=en_US.utf-8
export LANG="$LC_ALL"

Tutorial

1. Vim Essential Plugin : NERDTree – By NetTutsPlus

Sort cut to toggle NERDTreeToggle – Insert following line in ~/.vimrc “General” section

nmap   :NERDTreeToggle

nmap means map in normal mode
imap means map in insert mode

How to close open file in VIM?

:nmap   :bd

How to search open file in VIM?

CTRL + P or /serch term

NERDNERDTreeterminalVIM

Read More