有用的emacs快捷键

  |   Source

  • 列编辑C-x r t yourstring RET (参见How to do select column then do editing in GNU Emacs ?)
  • 记录当前位置到register中 C-r SPC (需安装better-registers.el,且要注释掉其中对快捷键'C-x r'的占用)
  • 跳转至某register, C-j (需better-registers.el)
  • Save frame configuration to register, C-r f (要求同上)
  • Comment current line, M-; (需qiang-comment-dwim-line)
  • Visit the next/previous error message, M-g M-n/M-p
  • find-tag/pop-tag-mark, M-./M-*
  • M-x lgrep/rgrep, grep CWD only or all sub-directories
  • M-x visit-tags-table, give you choice on multiple tags table
  • M-x org-timer-set-timer, C-c C-x ;, set count down timer
  • M-x org-mark-subtree, 选中org-mode中的subtree
Comments powered by Disqus