> Is there a way to scroll the upper window without put the > cursor into it?
Depends on whether you want to scroll the non-upper-window too. If you want to scroll them in pairs, you can use the 'scrollbind' setting in both windows. :help 'scrollbind' If you don't want to scroll them in tandem, you'd have to map something like :nnoremap <f4> <c-w>p<c-e><c-w>p :nnoremap <f5> <c-w>p<c-y><c-w>p to scroll down/up by one line in the previously-visited window. You can adjust the mappings to use the scrolling-motion you want if <c-e>/<c-y> are too fine-grained for you. (such as using <c-u>/<c-d> or <c-f>/<c-b> instead). Lastly, if you use the mouse (a heresy in some vim crowds, but I know Tony is a mousing vimmer with long-standing credibility, and I'm ambivalent about mousing-dogma), you can use the scrollbar in non-focused windows to scroll without changing focus. > (by the way: while I was searching the help for a solution > to this I came accross CTRL-W z, which closes a "preview" window. > What is a preview window and what is the difference in previewing > an ascii file compared to viewing an ascii file?) The preview window :help preview-window is just another text buffer, but with some special attributes (uniqueness-per-tab, usually small with a defined 'previewheight' height. The window is usually used to see the definition of a function or some other temporary bit of information that you plan to dismiss or overwrite. I can't say I've used the preview window more than a handful of times, but some plugins make extensive use of it. -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
