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? > > I'm not sure if I understood your problem exactly, but maybe this is the > answer: You can jump to a specific buffer using :b plus the number of > the buffer. > > Cheers, > Claus --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
