Wednesday, December 2, 2009

If I quit a buffer how do I keep the one I was last editing displayed (when using NERDTree)??

This is probably really newb, but it's frustrating me...

I have NERDTree open on the left.

I have several buffers open (only one visible in the main view... call it "buffer 1" )

I now go to NERDTree and select another file that I just want to look at really quick or copy something from. So I open that file from NERDTree and buffer1 is correctly hidden and I'm now looking at the buffer I just opened (call it buffer 2)

I now want to completely quit this buffer 2 and go back to editing buffer 1, but when I do :q on buffer 2 I end up looking at just one large NERDTree and I have to redisplay buffer1.

That's a bit annoying so there must be something I'm doing wrong?

--
Rick R

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: