On Friday 13 November 2009, anna wrote:
> If we split the vim to open many buffers, we can change the
> cursor focus using mouse or pressing <CTRL-W><CTRL-W>.
> When I jump the cursor focus to other buffer, I want the
> opened buffer is still there.
> If we use :b + buffer number, this will make replace the
> current display to other buffer.
> For example, we have 2 buffers opened. Buffer1 is on top,
> and buffer2 is at the bottom. When the cursor focus is at
> buffer1, then we execute :b 2. Then both will show buffer2.
> I don't want this to happen. I just want the cursor focus
> move to buffer2.
> Using <CTRL-W><CTRL-W> is one solution. However, I want it
> jump directly to a certain buffer, without traversing
> through buffers sequentially.
>
> Any idea?
>
>
> On Nov 13, 7:38 pm, Claus Atzenbeck
> <[email protected]>
>
> wrote:
> > On Fri, 13 Nov 2009, anna wrote:
> > > Is there a way to jump to certain buffer? It will
> > > change the cursor focus only.
> > > I tried to use ^W^W. The cursor focus jumps to next
> > > buffer. I tried to add number in front of ^W^W, like
> > > 4^W^W. But, it doesn't make the cursor focus jump to
> > > buffer number 4. Is there a way to jump cursor focus to
> > > certain buffer?
part of the problem in getting clear answers to your problem
is you are confusing buffers with windows, stating that you
want to go to a particular buffer when in fact what you are
wanting to do is navigate to particular windows -- responders
should have picked up on the fact that you are getting where
you want to be with ^W^W
there are dozens of methods of navigating windows, so i won't
attempt to tell you which way you'll like best
do some reading at
:help window-move-cursor
and pick your poison
sc
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---