荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: georgehill (清风浮云 人生), 信区: Linux
标  题: Emacs中定义新键(fwd)
发信站: BBS 荔园晨风站 (Wed Oct  4 12:29:28 2000), 站内信件

【 以下文字转载自 georgehill 的信箱 】
【 原文由 georgehill.bbs@smth.org 所发表 】
发信人: althea (痛并快乐着~~仙人掌), 信区: Linux
标  题: Emacs中定义新键(fwd)
发信站: BBS 水木清华站 (Mon Sep  4 17:52:22 2000)

plz look up the keyboard macros section in the emacs info help
in short, you can try this:
put the following lines into your ~/.emacs
(fset 'mymacro
   [?\C-e return])
(global-set-key some_key_combination 'mymacro)
                ^^^^^^^^^^^^^^^^^^^^ specify your preferred key combo here
【 在 ganzhi (野兽) 的大作中提到: 】
: 看了精华区,还是不知道怎么做,请大侠指点:
: 我想新定义一个键,它是如下键的组合:
: Ctrl+e
: RETURN
: 有简便的方法吗?


--

※ 来源:·BBS 水木清华站 smth.org·[FROM: 162.105.203.39]
--
※ 转载:·BBS 荔园晨风站 bbs.szu.edu.cn·[FROM: 192.168.1.115]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店