Saturday, June 19, 2010

Re: Jump to the near right window

> On 22/03/10 20:32, epanda wrote:
>

> > When I execute this command in exec mode it works well but not when it
> > is called from a script.
>
> > execute "normal \<C-W>l"

Well, I created a file z.vim with the one line

exe "normal \<c-w>l"

and in a vim instance vertically split with x.vim on the left and
y.vim on the right, cursor in x.vim, I typed

:so z.vim

and the cursor duly jumped to the y.vim window. What do you see?

Regards, John

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