Closed AdrienGiboire closed 11 years ago
C-n is a useful map actually.
<C-d>
page down
<C-u>
page up
<C-n>
[ count ] lines forward
<C-p>
[ count ] lines backward (well, this is used by the ctrl-p plugin)
But for example, if you want to go 10 lines below you do:
10<C-n>
You can also do:
10+
Personally, I use the former.
Actually, to go backward and forward it's more convenient to use j
/k
instead of <Ctrl-n>
/<Ctrl-p>
. Two keystrokes instead of one is not the vim way.
I wasn't speaking about convenience, i was speaking about it's use as in combination with [ count ]
, still just saying. It's not an "empty" map.
<C-u>
is used to go one page up. With<C-d>
which is used to go one page down.