Vim Tips Wiki


1,623pages on
this wiki
Add New Page
Add New Page Talk0

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 variableEdit

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


Also on Fandom

Random Wiki