Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does NERDTree have a stack to track opened files? I want to go back to previous file easily(As like ctags does by Ctrl+T).
But I can't find the feature in it's manual. Is it even possible?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

NERDtree doesn't offer this feature but you can do :bp to reopen the previous buffer if it's still in the buffer list or use Vim's jump list (:h jump) with <C-o> and <C-i>. Another solution, if you want to reach those files often, would be to use NERDTree's bookmarking feature.

A few plugins offer some kind of MRU (Most Recently Used) abilities.

You could also learn to navigate between buffers with :b <Tab> or :ls<CR>:b<Space> or use a neat buffer switching plugin like CtrlP or LustyExplorer.

share|improve this answer
    
thank you! that's exactly what I wanted. –  Benjamin Jun 11 '12 at 1:12
    
Well, what solution did you use? I've offered 7 of those. –  romainl Jun 11 '12 at 5:18
    
:bp and jump list :) –  Benjamin Jun 11 '12 at 7:56
    
I think your few plugins hyper-link is wrong, though. –  Benjamin Jun 11 '12 at 7:57
    
Oops. Answer edited. –  romainl Jun 11 '12 at 11:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.