V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
terrance
V2EX  ›  Emacs

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

  •  
  •   terrance · Jun 20, 2012 · 5502 views
    This topic created in 5064 days ago, the information mentioned may be changed or developed.
    我先起个头:

    upcase-word (M-u), downcase-word (M-l), capitalize-word(M-c),可以方便的转换光标开始处单词的大小写。
    6 replies    1970-01-01 08:00:00 +08:00
    yangg
        1
    yangg  
       Jun 20, 2012
    支持下!!!
    forward-list (C-M-n)
    backward-list (C-M-p)
    方便跳转到各种括号及成对的引号
    lisztli
        2
    lisztli  
       Jun 20, 2012
    C-z C-x C-c 第一次启动emacs的时候要牢记。
    peizh2006
        3
    peizh2006  
       Jun 20, 2012
    vim党来围观加观赏
    terrance
        4
    terrance  
    OP
       Jun 20, 2012
    @yangg 关于括号,paredit还是很方便的, paredit-splice-sexp(M-s), 去掉当前层的括号。 其它参见(http://mumble.net/~campbell/emacs/paredit.html)
    terrance
        5
    terrance  
    OP
       Jun 20, 2012
    @lisztli 请说明的更清楚一些:),suspend-frame(C-z) 可以理解为最小化。save-buffers-kill-terminal(C-x C-z) 保存并退出Emacs.
    jiangxiao
        6
    jiangxiao  
       Jun 20, 2012
    1. 将CapsLock变为Ctrl-Left, 真正的Ctrl-Left保持不变。
    2. (global-set-key [f1] 'shell)
    3. (global-set-key "\C-x\C-m" 'execute-extended-command)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1257 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 17:06 · PVG 01:06 · LAX 10:06 · JFK 13:06
    ♥ Do have faith in what you're doing.