Hower Chow's Website

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