> 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.
I do not use Nerdtree, but it sounds like you should be typing
Ctrl-^ (probably Ctrl + the 6 key) to switch back to buffer1.
See this for how to close a buffer AND keep the window:
http://vim.wikia.com/wiki/Deleting_a_buffer_without_closing_the_window
See this for ideas on switching between buffers:
http://vim.wikia.com/wiki/Easier_buffer_switching
John
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment