Saturday, February 2, 2013

Re: vim split window editing => separate window editing?

On Sat, 2 Feb 2013, Marc Weber wrote:

> Excerpts from Linda W's message of Sat Feb 02 20:11:33 +0100 2013:
>> If vim can split a window and edit the same file in multiple places,
>> shouldn't it be possible to have those windows be "disconnected" and
>> really be separate windows -- and still edit the same file?
> Always talk about why you're missing it.
>
> a) making a copy is cheap
> :enew then copy paste buf contents
>
> b) opening a second vim instance is cheap, too.
>
> So why bother about such complex confusing setup you're talking about?

I'm not sure I see what's complex or confusing about it. I can't speak
for Linda, but it seems like any of the same reasons to open the same
file in multiple buffers would apply:

1. wanting to see two parts of the same file at once

2. wanting to have two different views of the same file (different
folding, different syntax highlighting, etc.)

She just seems to want it as a separate window, instead of being crammed
into the same Gvim application window.

But, I don't suspect the request will be fulfilled. It'd be too
complicated to implement in terminal Vim. And Gvim is structured such
that there's a single top-level application window. I haven't looked,
but I don't think there's a nice way to handle multiple detachable
windows without rewriting (much/most of) the GUI code.

--
Best,
Ben

--
--
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: