Vim Tips Wiki
Advertisement

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 vim.org).
  • This page may be out of date: check the script's vim.org 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

Comments

Advertisement