Wednesday, January 1, 2014

Re: Retaining window layout

On Tuesday, December 31, 2013 10:01:39 PM UTC-6, Dejan Ranisavljevic wrote:
> I have been using vim for past 2,3 years, but there are still some issues i am not able to come over.
>
> I find it really convenient to have windows managed manually. I tried buffkill for some time,
> but it doesn't work always as expected.
>
> To be more precise, lets say i am working on something, and i have 2 splits, one for editing source file,
> and one for editing test file. Often i have to open something else so i override whichever split window with new one, and when i delete that buffer i loose windows split, this is what i didn't want, i know to close window, but why does deleting a buffer has to close a window? and i haven't found how to overcome elegantly. Anyone could suggest me a good approach?
>

This is actually a perfect use-case for tab pages, in my opinion. Unless you need the test file up still in your new buffer, just open that new buffer in a tab page and you'll leave your original window layout alone.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: