patch 9.0.0640: cannot scroll by screen line if a line wraps
Problem: Cannot scroll by screen line if a line wraps.
Solution: Add the 'smoothscroll' option. Only works for CTRL-E and CTRL-Y
so far.
This commit is contained in:
@ -343,6 +343,9 @@ call <SID>Header(gettext("displaying text"))
|
||||
call <SID>AddOption("scroll", gettext("number of lines to scroll for CTRL-U and CTRL-D"))
|
||||
call append("$", "\t" .. s:local_to_window)
|
||||
call <SID>OptionL("scr")
|
||||
call <SID>AddOption("smoothscroll", gettext("scroll by screen line"))
|
||||
call append("$", "\t" .. s:local_to_window)
|
||||
call <SID>BinOptionL("sms")
|
||||
call <SID>AddOption("scrolloff", gettext("number of screen lines to show around the cursor"))
|
||||
call append("$", " \tset so=" . &so)
|
||||
call <SID>AddOption("wrap", gettext("long lines wrap"))
|
||||
|
||||
Reference in New Issue
Block a user