Chinaunix首页 | 论坛 | 博客
  • 博客访问: 130021
  • 博文数量: 47
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 350
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-30 12:26
文章分类
文章存档

2010年(32)

2009年(15)

我的朋友

分类: LINUX

2010-04-05 17:56:33

C-x C-f                                  new
C-x C-s                                  save
C-x C-w                                  save as...
C-x C-c                                  exit

C-x u                                    undo
C-/                                      undo
C-g [undo]                               redo

C-g                                      cancel

C-p                                      up
C-n                                      down
C-b                                      left
C-f                                      right
C-a                                      ahead
C-e                                      end
C-v                                      next screen
A-v                                      previous screen
C-C-a                                    move to file head
C-C-e                                    move to file end
A-g g   goto line
C-l                                      redisplay all text

C[A]-d                                   delete a byte[word]
C[A]-k                                   delete to line[sentence] end

C-@                                      mark
C-w                                      cut
A-w                                      copy
C-y                                      paste(reinsert the last killed text)
A-y                                      paste(more recent kill)

C-@ C-@                                  set flag


C-s[r]                                   search string down[up]
A-x repl-s                               replace string
A-%                                      search and replace


C-x 1                                    unsplit
C-x 2                                    split vertically
C-x 3  split horizontally
C-x o                                    move cursor to other window
C-x b                                    back previous buffer
C-x k                                    kill current buffer


For C:
A-;                                      add comments (/* */)
A-x compile                              compile
A-x gdb                                  debug
A-x shell                                shell
A-x man                                  display man pages
A-x grep                                 invoke grep

A-x calculator                           calculator
A-x calendar                             calendar
 
M-x eval-buffer                          update setting
C-x C-e                                  update 1 line
 
 


NOTE:
Ctrl-      :                             byte operation
Alt-[ESC]  :                             word operation



阅读(813) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~