Re: How to disable the unexpected ^ behavior when press PgUp and PgDn?
- panshizhu@... wrote:
> Hello, vimmers,see ":help 'startofline'", which I found by looking up ":help <PageUp>".
> When I press [Home], the current cursor goes to the 1st column, this is the
> intent behavior.
> But when I press [PgDn] or [PgUp] after that, the cursor moves to the first
> non-white-space column, as if I pressed the ^ key. I don't want this and I
> hate this very much, I want it to remain in the absolutely first column
> (i.e. the same column the cursor previously was), is it possible?
> I'm editing a C program, haven't tested if this exists in other documents.
> Thanks in advance.
> Pan, Shizhu. ext: 2221
Note that unless you remap them, <PageUp> and <PageDown> behave
identically to ^B and ^F, except that they work also in Insert mode, so
what is said about the latter two applies also to the former two.