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

51986RE: How to horizontal-scroll (zl) by pressing and holding zl

Expand Messages
  • David Fishburn
    Jul 26, 2004
    • 0 Attachment
      > -----Original Message-----
      > From: Suresh Govindachar [mailto:sgovindachar@...]
      > Sent: Monday, July 26, 2004 1:50 PM
      > To: vim@...
      > Subject: How to horizontal-scroll (zl) by pressing and holding zl
      >
      > Hello,
      >
      > My guioptions equals a (no toolbar, no menus, no scrollbar etc.).
      >
      > Each time I press z and l, there is a horizontal scroll of
      > one character. However, pressing and holding z and l does
      > not work to horizontally scroll. Is there a way to get this
      > to work? If not, any suggestions for doing horizontal scroll
      > using the keyboard?
      >
      > Here's something I am thinking of trying:
      >
      > 1) set sidescroll to 1
      > 2) map zl to make the cursor jump to rightmost
      > visible character [HOW?]
      > 3) continue scrolling with l
      >
      > If (2) cannot be done, then I'll set sidescrolloff to a large
      > number. (But with sidescrolloff being a large number,
      > entering text is somewhat like typing on a typewriter with
      > its carriage moving to the left! -- something that is worse
      > than the horizontal scrolling problem it partially solves!)


      I can at least answer this one:
      > 2) map zl to make the cursor jump to rightmost
      > visible character [HOW?]

      g$

      Dave
    • Show all 3 messages in this topic