scrolling without moving the cursor

topic posted Fri, June 22, 2007 - 2:52 PM by  Jenni
Share/Save/Bookmark
Advertisement
I don't know why it's taken me so long, but I've finally discovered and started using Ctrl-E and Ctrl-Y, they're awesome!

Incidentally, they do neat things when in insert mode, too :)
posted by:
Jenni
SF Bay Area
Advertisement
Advertisement
  • Re: scrolling without moving the cursor

    Fri, June 22, 2007 - 3:30 PM

    Cool, thanks for the trick! I've used Control F and Control B forever, but didn't know these two. (And as for using them in insert mode, that must be dependent on version or something, because it doesn't work for me.

    • Re: scrolling without moving the cursor

      Fri, June 29, 2007 - 1:23 PM
      it will insert the characters from the text of the previous or next line... so interesting, although I haven't really found a practical use for it yet.

      open a file with the following 3 lines:

      this is the first line
      this is the second line
      this is the third line

      put your cursor over the 's' in 'second', enter insert mode, and try using ctrl-e and ctrl-y.

Recent topics in "Vi"