您的位置:首页 > 其它

emacs常用命令

2015-04-20 20:45 267 查看
一.菜单相关命令

1.打开菜单

M+~

M+X menu-bar-open

一.移动相关命令

移动到指定行:M-x goto-line

选择文本命令:C-@ set mark,C-w 剪切,C-y 粘贴。

注释和反注释:M-x comment-dwim 或 M-x comment 或 M-x uncomment-region

撤销:使用的是 C-/ ,同样还可以使用 C-_ 或者 C-x u

三.buffer相关

展示所有buffer:c-x c-b

移动到指定buffer:c-x b + buffname 或 c-x b + return(返回到跳转之前的代码)

四.Emacs 中shell命令

上一条命令:M-p

下一条命令:M-n
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: