emacs24

C-<chr> means hold the CONTROL key while typing the character <chr> Thus, C-f would be: hold the CONTROL key and type f.

 

M-<chr> means hold the META or EDIT or ALT key down while typing <chr>. If there is no META, EDIT or ALT key, instead press and release the ESC key and then type <chr>. We write <ESC> for the ESC key.

 

Here is a summary of simple cursor-moving operations:

C-fMove forward a character

C-bMove backward a character

 

M-fMove forward a word

M-bMove backward a word

 

C-nMove to next line

C-pMove to previous line

 

C-aMove to beginning of line

C-eMove to end of line

 

M-aMove back to beginning of sentence

M-eMove forward to end of sentence

 

M-< (META Less-than), which moves to the beginning of the whole text

M-> (META Greater-than), which moves to the end of the whole text

On most terminals, the "<" is above the comma, so you must use the shift key to type it.

On these terminals you must use the shift key to type M-< also; without the shift key, you would be typing M-comma.

 

C-u 8 C-f moves forward eight characters.

C-u 8 * to insert *******

 

C-g to discard

 

C-x 1One window (i.e., kill all other windows).

 

<DEL>        Delete the character just before the cursor

C-d       Delete the next character after the cursor

 

M-<DEL>      Kill the word immediately before the cursor

M-d     Kill the next word after the cursor

 

C-k     Kill from the cursor position to end of line

M-k     Kill to the end of the current sentence

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值