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 :)
Incidentally, they do neat things when in insert mode, too :)
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 PMit 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. -
-
Re: scrolling without moving the cursor
Fri, June 29, 2007 - 6:56 PM
Thanks for the instructions, but nope, doesn't seem to work in Vim under windows. Haven't tried elsewhere.
-
-