Vim Tips Wiki


Revision as of 07:32, November 15, 2011 by JohnBot (Talk | contribs)

1,619pages on
this wiki

Use this page to discuss script 1649 scrollfix: keep cursor at fixed visual line of window

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

g:fixeof control variable

The instructions for using the fixeof variable read:

g:fixeof - 1=>fix cursor also near end-of-file; 0=>no. Default:0

If I'm reading this correctly, the code dealing with this is backwards.

Line 93 (version 2006-09-10) reads
  if g:fixeof
but should be negated to match the instructions given above.
  if !g:fixeof


Around Wikia's network

Random Wiki