On Wed, Aug 5, 2009 at 3:24 AM, Sirupsen <[email protected]> wrote:
>
> Hello, I started using NerdTree and it's pretty cool, however I'd like
> to have a Nerdtree to open for each new tab in the same directory as
> the first one, is this possible?
>
> >
>
dont think this is what you're exactly looking for... but i have this
mapping to open NERDTree directly
to the directory of the file in the current buffer:
map <F5> :execute ' NERDTreeToggle' . expand('%:p:h') <CR>
...and then after F5 I usually push 'U' a couple times in the nerdtree
window to get it to go up to the current working directory (or to at least
what the filetree looked like in the previous tab(s))
anyways, i usually use this when pressing 't' to open a file in a new tab
etc. etc.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---