emacs常用命令

一.菜单相关命令

1.打开菜单

  1.  M+~
  2. M+X menu-bar-open

一.移动相关命令

  1. 移动到指定行:M-x goto-line
  2. 选择文本命令:C-@ set mark,C-w 剪切,C-y 粘贴。 
  3. 注释和反注释:M-x comment-dwim 或 M-x comment 或 M-x uncomment-region
  4. 撤销:使用的是 C-/ ,同样还可以使用 C-_ 或者 C-x u

三.buffer相关

  1. 展示所有buffer:c-x  c-b    
  2. 移动到指定buffer:c-x b + buffname  或 c-x b + return(返回到跳转之前的代码)

 

四.Emacs 中shell命令

 

  1. 上一条命令:M-p
  2. 下一条命令:M-n 

 

posted @ 2015-04-20 20:45  yts1dx  阅读(188)  评论(0编辑  收藏  举报