nerdtree_term is a NERDTree plugin that adds a menu item to open the selected folder in Mac OS X Terminal. (i.e. open a shell window and cd to that folder)
Run the following commands in a shell:
cd ~/.vim/bundle
git clone https://github.com/mortonfox/nerdtree-term.git
Add the following to your vimrc:
Plugin 'mortonfox/nerdtree-term'
Install with :PluginInstall
.
Copy the terminal_menu_item.vim
file to ~/.vim/nerdtree_plugin/
(*nix) or ~/vimfiles/nerdtree_plugin
(Windows).
In the NERDTree window, select the desired folder and then
type m
and t
to open the Terminal session.