Emacs

Date: . Last updated: .

Emacs News

emacs remove ^M
M-x replace-string RET C-q C-m RET RET

  1. Refcard

Clang Format

.clang-format生成命令: ClangFormat


         M-x cla-r ;; format region
         M-x cla-b ;; format buffer
		      
clang-format的介绍和使用

光标回到上个位置:
C-SPC C-SPC C-u C-SPC
整体左移:
C-x Tab left/right


         pop-global-mark ;; all buffers
		      

         C-h o ;; describe-symbol
		      

         M-X ;;execute-extended-command-for-buffer
		      

        # Chang Emacs Config Directory
        $ emacs --init-dir ~/emacs-distros/prelude
		      

[emacs]-[常用快捷键及其操作]-神的编辑器我来了
M + m 将光标移动到行首的第一个非空白字符