Emacs使用

1. 下载emacs安装包:

http://ftp.gnu.org/pub/gnu/emacs/

2. 安装步骤:

tar-zxvf emacs-23.4.tar.gz

./configure --without-x

make 

make install

 

3. 解压带有图形颜色的emacs.tgz

不同用户解压多次

 

4. 使用方法

emacs 回车 进入图形化界面

alt+x  进入命令行 输入gdb 回车

gdb --annotate=3 xxxx

例如:gdb --annotate=3 getset 回车

(gdb)start

 

 

Alt+g 回退

Alt+p 上一条执行的命令

多个调试功能框:

 

 

 

 

关闭emacs :  ctrl+x  ctrl+c

 

Forward(向前) Back(向后) Previous(向上) Next(向下)  End (尾)

1. 移动命令

单字符: Ctl-f  Ctl-b

词之间: Alt-f  Alt-b

 

行之间: Ctl-p  Ctl-n

段之间: Alt-{  Alt-}

 

行首尾: Ctl-a  Ctl-e

句首尾: Alt-a  Atl-e

 

屏滚动: Ctl-v  Alt-v

posted @ 2014-05-12 00:31  青梗墨竹  阅读(280)  评论(0)    收藏  举报