Fandom

Vim Tips Wiki

Script:1649

1,624pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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 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

CommentsEdit

Also on Fandom

Random Wiki