Loading ...
Sorry, an error occurred while loading the content.
 

Re: How to disable the unexpected ^ behavior when press PgUp and PgDn?

Expand Messages
  • Antoine J. Mechelynck
    ... see :help startofline , which I found by looking up :help . Note that unless you remap them, and behave identically to ^B
    Message 1 of 3 , Feb 4, 2005
      panshizhu@... wrote:
      > Hello, vimmers,
      >
      > 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.
      >
      > --
      > Sincerely
      > Pan, Shizhu. ext: 2221
      >
      >
      >
      >
      see ":help 'startofline'", which I found by looking up ":help <PageUp>".
      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.

      HTH,
      Tony.
    Your message has been successfully submitted and would be delivered to recipients shortly.