Chinaunix首页 | 论坛 | 博客
  • 博客访问: 194545
  • 博文数量: 69
  • 博客积分: 1400
  • 博客等级: 上尉
  • 技术积分: 720
  • 用 户 组: 普通用户
  • 注册时间: 2005-08-03 11:35
文章分类

全部博文(69)

文章存档

2011年(13)

2010年(46)

2009年(10)

我的朋友

分类: LINUX

2009-12-14 14:22:42

Emacs 常用 Command

 @ http://zcatt.cublog.cn

1.Editing

C-f

Forward one character

C-n

Next line

C-b

Back one character

C-p

Previous line

 

C-a

Beginning of line

M-f

Forward one word

M-a

Previous sentence

M-v

Previous screen

M-<

Beginning of buffer

C-e

End of line

M-b

Back one word

M-e

Next sentence

C-v

Next screen

M->

End of buffer

 

M-g g

Jump to specified line

 

C-s

Incremental search forward

C-r

Incremental search backward

 

C-@

Set mark to the current location

C-x C-x

Swap point and mark

C-w

Del the marked content

 

 

C-k

Kill line

C-u 10 C-k

Kill 10 lines

 

M-d

Kill next word

M-k

Kill to end of sentence

 

d

Del next char

Backspace

Del previous char

 

C-y     yanking, 召回

C-x u   undo

 

2.Window

C-x 0   Delete the selected window (`delete-window').  The last character

     in this key sequence is a zero.

C-x 1  Delete all windows in the selected frame except the selected window

     (`delete-other-windows').

C-x 2   Split the selected window into two windows, one above the other

     (`split-window-vertically')

C-x 3   Split the selected window into two windows positioned side by side

     (`split-window-horizontally').

 

3.Buffer

C-x C-b   列出缓冲区

C-x b bufferName   切到缓冲区

C-x 1     离开缓冲区

C-x s   保存多个缓冲

4.File

C-x C-f   寻找一个文件并打开

C-x C-s   储存这个文件

5. Other

C-h k    Shows documentation for the command associated with any particular key.

C-h f    Shows documentation for any particular command, by name (i.e. what you would type after M-x).

 

M-x shellCommand

 

M-x shell

M-x compile

M-x gdb


6. Ref

[1]  

阅读(906) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:MySql 091214: Install(1/2)

给主人留下些什么吧!~~