Tony Mechelynck wrote:
> I don't use H/M/L but I do use PgUP/PgDn (whose effects are different)
> though never with an operator. My usual 'scrolloff' setting is 6.
I've been using H/M/L since before Vim existed. Frequently PgUp/PgDn did
not work without a manual :map in those days, and many keyboards I use
even today lack those keys. I am the sort of person who uses ssh from
a phone with an on-screen "soft" keyboard. Every motion that doesn't
require switching keyboard panes is my friend.
> Experiment shows that the displayed lines don't scroll for H/M/L,
> regardless of the 'scrolloff' setting, so the somewhat cryptic
> sentence «Cursor is adjusted for 'scrolloff' option.» under both
> ":help H" and ":help L" means (IIUC) that the top and bottom are to be
> understood exclusive of the 'scrolloff' lines, though there are no top
And as someone who has used H/M/L since before Vim existed, consulting
the H/M/L documentation for how those would behave with a "{not in Vi}"
setting didn't occur to me. {not in Vi} settings SHOULD document their
not in Vi behaviors at the setting level.
> IMHO the present behaviour is consistent but the help could be made
> clearer.
The motions H/M/L are the only ones that operate based on what is
*visible* on the screen. It is my firm belief that changing those motions
to ignore parts of the *visible* screen is seriously against the spirit
of the motions.
Elijah
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment