Thursday, April 8, 2010

Re: switching to window, by buffer nr

On Apr 7, 2:47 pm, viki <viki...@gmail.com> wrote:
> Which command sequence takes me to window
> that belongs to buffer #1

This, by the way, shows a subtle misunderstanding of how buffers and
windows interact.

A window does not 'belong' to a buffer. A buffer can appear inside any
number of windows (including none at all; the buffer can be "hidden").
Consider a window to be a viewport, which can be used to look at any
open buffer, but only at one buffer at any given time.

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

To unsubscribe, reply using "remove me" as the subject.

No comments: