* Tony Mechelynck [2011.03.17 13:50]:
> Or if you know which lines to yank (let's say as the contents of some
> variables or the result of some expressions) you could write a
> function to go to the next window and come back:
> 
>       func YankFromNext() range
>               wincmd w
>               exe a:firstline . ',' . a:lastline . 'y'
>               wincmd W
>       endfunc
> 
> and call that function in any script or mapping needing it.

I think that'll work. Thanks a lot.

-- 
JR

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

Reply via email to