Kalebmcc schrieb:
> 2) Is there a way to limit the amount of blank lines Vim puts at the end of
> files? Currently, when I scroll to the bottom of a file, Vim allows me to
> scroll all the way to having the last line at the top of the editing area.
> I'd like if it just left five or so lines instead.

See Christian's answer.

But whenever this happens, you can type  zb
   :h zb

Or, with a little more comfort (as a start):
:nnoremap <expr> <RightMouse> line("w0")>1 && 
line("w$")-line("w0")+1<winheight(0)
    \ ? "Gzb" : "<RightMouse>"

-- 
Andy

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to