我的emacs 学习之旅

来源:互联网 发布:淘宝店铺被扣分 编辑:程序博客网 时间:2024/05/16 08:12

我的简单emacs配置。

f1 启动shell-mode

f9 编译程序

f10 调试程序

源代码:~/.emacs

;;进入shell-mode

(global-set-key [f1]  `shell)

;;f9 编译程序

(setq compile-command  "gcc ")

(global-set-key [f9] `compile)

;;调试程序

(global-set-key [f10] `gdb)

0 0