> Suppose that I have split a window in two with different files loaded
> in each new window. How can I scroll one window to show the end of the
> file without leaving the current buffer? Is it possible to that with
> setpos()?

The approach I used was to save the target window's winnr(). Now you
can switch to it anytime with:
  exe conque_winnr . "wincmd w"
(See :help :wincmd)

Now do your thing:
  normal G

And return:
  wincmd p

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui