Friday, July 30, 2010

Re: move cursor

Thank you for your replies but what do I really want is something like this:
Imagine dave bob and tim are three buffers already active in different windows.
I want a command like:
:sendCursorTo dave
and after that the cursor go to the dave's window without any change to other windows.

best
Mostafa

On Fri, Jul 30, 2010 at 5:50 PM, David Fishburn <dfishburn.vim@gmail.com> wrote:
On 7/30/2010 9:54 AM, Tony Mechelynck wrote:
On 30/07/10 12:39, Mostafa S.Ari wrote:
Hi
How can I move the cursor to an active buffer using buffer's name?
I usually do something like this:

:e dave.txt
:e bob.txt
:e tim.txt

:b bob<tab>
:b im<tab>
:b e<tab>

You can provide partial names to :buffer and the tab will cycle through your choices. 
Saves me an enormous amount of typing.

HTH,
Dave

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

No comments:

Post a Comment