You can't.
In Vim, all "file-lines" onscreen, especially including the one with the
cursor, and with the possible exception of the bottom file-line in the
window, MUST be displayed in their entirety, with the single exception
that if the current file-line (the one with the cursor) is larger than
the window, it may overflow it on both top and bottom depending on where
the cursor is in the line.
If the top line in the window is longer than the 'columns' setting, and
you have 'wrap' set, then if you scroll (e.g. by Ctrl-E, or by moving
the cursor downwards), that top line will disappear completely in one
step, and the next (file-)line will become the new top line.
If you absolutely want to scroll by single screen lines, you can set
'nowrap' (which is the default), but then long lines may overflow the
screen left and/or right, which is probably not what you want.
Best regards,
Tony.
--
Really heard in court in the U.S.A.:
Q.: How did your first marriage end?
A.: By death.
Q.: And by whose death did it end?
A.: You guess.
I don't believe it will ever become part of "mainline Vim". Now, if
someone wants to program it as an "unofficial patch", good luck...
Best regards,
Tony.
--
"One thing they don't tell you about doing experimental physics is that
sometimes you must work under adverse conditions ... like a state of
sheer terror."
-- W. K. Hartmann
Call it a hunch. Only Bram could decide about it, and not all of my
hunches were right.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
57. You begin to wonder how on earth your service provider is allowed to
call
200 hours per month "unlimited."
> On Jun 24, 1:37 pm, Tony Mechelynck <antoine.mechely...@gmail.com>
> wrote:
>> I don't believe it will ever become part of "mainline Vim". Now, if
>> someone wants to program it as an "unofficial patch", good luck...
> but why? is it because of the conflict with Vi maintain design
> philosophy?
One reason is probably that a feature has to have clear benefits for
anybody to bother implementing it. Vim is not perfect but for many
people it's good enough. Another reason might be that everything in Vim
development goes through Bram Moolenaar and one man (though very capable
one) doesn't scale to everything. If someone else writes the feature it
is likely merged to vim_extended repository[1] quite soon and then
reviewing the patch will probably go to Bram's to-do list at position
1382 or something like that. :-)
Of course this is not the official answer. Only thoughts of an individual.
---------------
1. http://groups.google.com/group/vim_dev/web/vim-patches
On Mi, 24 Jun 2009, Teemu Likonen wrote:
>
> One reason is probably that a feature has to have clear benefits for
> anybody to bother implementing it. Vim is not perfect but for many
This might actually be useful, when scrollbind windows to read several
pages on screen. Otherwise the scrolling offset changes slightly.
regards,
Christian
--
:wq!