V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
terrance
V2EX  ›  Emacs

一起来分享你喜欢的Emacs小技巧吧!(规则: 3行之内能完整说明)

  •  
  •   terrance · 2012-06-20 10:52:38 +08:00 · 4452 次点击
    这是一个创建于 4329 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我先起个头:

    upcase-word (M-u), downcase-word (M-l), capitalize-word(M-c),可以方便的转换光标开始处单词的大小写。
    6 条回复    1970-01-01 08:00:00 +08:00
    yangg
        1
    yangg  
       2012-06-20 14:14:42 +08:00
    支持下!!!
    forward-list (C-M-n)
    backward-list (C-M-p)
    方便跳转到各种括号及成对的引号
    lisztli
        2
    lisztli  
       2012-06-20 14:24:34 +08:00
    C-z C-x C-c 第一次启动emacs的时候要牢记。
    peizh2006
        3
    peizh2006  
       2012-06-20 15:01:01 +08:00
    vim党来围观加观赏
    terrance
        4
    terrance  
    OP
       2012-06-20 16:28:12 +08:00
    @yangg 关于括号,paredit还是很方便的, paredit-splice-sexp(M-s), 去掉当前层的括号。 其它参见(http://mumble.net/~campbell/emacs/paredit.html)
    terrance
        5
    terrance  
    OP
       2012-06-20 16:30:51 +08:00
    @lisztli 请说明的更清楚一些:),suspend-frame(C-z) 可以理解为最小化。save-buffers-kill-terminal(C-x C-z) 保存并退出Emacs.
    jiangxiao
        6
    jiangxiao  
       2012-06-20 16:52:20 +08:00
    1. 将CapsLock变为Ctrl-Left, 真正的Ctrl-Left保持不变。
    2. (global-set-key [f1] 'shell)
    3. (global-set-key "\C-x\C-m" 'execute-extended-command)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2874 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:51 · PVG 22:51 · LAX 07:51 · JFK 10:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.