p*s
9 楼
In Emacs, the prefix C-u # indicates how many times to repeat the
followed operations, just like VI's number prefixes.
C-n is 'next-line'.
C-u 10 C-n actually means "repeat next-line operation 10 times".
It doesn't necessarily go to the 10th line unless you go to
the begin of buffer at first, which is done by M-<
【在 t******q 的大作中提到】
: you mean #-1 ?
: that is right, since every line start from 0th.
: just come back to correct that.
followed operations, just like VI's number prefixes.
C-n is 'next-line'.
C-u 10 C-n actually means "repeat next-line operation 10 times".
It doesn't necessarily go to the 10th line unless you go to
the begin of buffer at first, which is done by M-<
【在 t******q 的大作中提到】
: you mean #-1 ?
: that is right, since every line start from 0th.
: just come back to correct that.
t*q
10 楼
that is exactly what I assuned.
when you want to go to the numbered line.
you give the number from the beginning of the whole article.
you can definately go to the next 10 lines.
which also make sense in my key bundle.
since each line is started from line 0,
if you want to go to the 20th line, you need to skip only 19 lines.
that is the #-1 means.
and the Ctrl+h g bundle does not work for my test unfortunately.
by the way, ctrl+h is still bundled to the online help.
【在 p****s 的大作中提到】
: In Emacs, the prefix C-u # indicates how many times to repeat the
: followed operations, just like VI's number prefixes.
: C-n is 'next-line'.
: C-u 10 C-n actually means "repeat next-line operation 10 times".
: It doesn't necessarily go to the 10th line unless you go to
: the begin of buffer at first, which is done by M-<
when you want to go to the numbered line.
you give the number from the beginning of the whole article.
you can definately go to the next 10 lines.
which also make sense in my key bundle.
since each line is started from line 0,
if you want to go to the 20th line, you need to skip only 19 lines.
that is the #-1 means.
and the Ctrl+h g bundle does not work for my test unfortunately.
by the way, ctrl+h is still bundled to the online help.
【在 p****s 的大作中提到】
: In Emacs, the prefix C-u # indicates how many times to repeat the
: followed operations, just like VI's number prefixes.
: C-n is 'next-line'.
: C-u 10 C-n actually means "repeat next-line operation 10 times".
: It doesn't necessarily go to the 10th line unless you go to
: the begin of buffer at first, which is done by M-<
相关阅读
请教大虾们: 怎么能快速学会写Makefile”如何数文件个数“的帖子是不是回答错了? (转载)VMWare Opening.ps command 为何不显示 emacs process?你们安装那个Solaris 10 ?how to check disk available using posix API?Perl问题求助 (转载)请教一个文件处理的问题special commands to run codes using more memory (转载)问一个关于批处理的问题,谢了!2000年出版的UNIX教程过期了吗??How to pull out the last change.用dbx调试时如何退到前一个字修改命令。shell script questionhow do u check a machine is 32/64 bit?请问如何在windows下面模拟unixHow to understand 'global zone' in solaris?有没有人装过DragonFly BSD???Solaris x86 machinehow to count string times using perl