emacs tutorial一些快捷键速查

来源:互联网 发布:淘宝市场在哪里 编辑:程序博客网 时间:2024/05/16 00:41
c-x c-c:end the Emacs session
c-g:quit a command
c-v:move backward one screenful(Page Up)
m-v:move backwards one screenful(Page Down)
c-l:clear screen and redisplay all the tet, moving the text around the cursor to the center of the screen
c-b/f/n/p:move back/forward/next line/previous line
m-b/f:move back/forward a word
c-a:move forward the beginning of a line
c-e:move backward the end of a line
m-a:move back to beginning of sentence
m-e:move forward to end of sentence
m-<(meta Less-than):move to the beginning of the whole text
m->(meta greater-than):move to the end of the whole text
c-u:give a command a repet count
c-g:stop a command safely
c-x 1:kill all other windows
c-d:delete the next character after the cursor
m-d:kill the next word after the cursor
c-k:kill frome the cursor position to end of line
m-k:kill to the end of the current sentecen
c-x 0:delete windows
c-x 1:delete other windows
c-x 2:split window vertically
c-x 3:split window horizontally
c-o:move to other window
c-m-v:scroll other window
c-x 4 b:switch other window buffer
c-x 4 c-o display buffer
c-x 4 f:find file in other window

c-x 4 d:open dired in other window

C-SP     set-mark-command C-q      quoted-insertC-a      beginning-of-line C-r      isearch-backwardC-b      backward-char C-s      isearch-forwardC-c      exit-recursive-edit C-t      transpose-charsC-d      delete-char C-u      universal-argumentC-e      end-of-line C-v      scroll-upC-f      forward-char C-w      kill-regionC-h      help-command C-x      Control-X-prefixTAB      indent-for-tab-command C-y      yankLFD      newline-and-indent C-z      suspend-emacsC-k      kill-line ESC      ESC-prefixC-l      recenter C-]      abort-recursive-editRET      newline C-_      undoC-n      next-line SPC .. ~        self-insert-commandC-o      open-line DEL      delete-backward-charC-p      previous-lineC-h v    describe-variable C-h d    describe-functionC-h w    where-is C-h k    describe-keyC-h t    help-with-tutorial C-h c    describe-key-brieflyC-h s    describe-syntax C-h b    describe-bindingsC-h n    view-emacs-news C-h a    command-aproposC-h C-n  view-emacs-news C-h C-d  describe-distributionC-h m    describe-mode C-h C-c  describe-copyingC-h l    view-lossage C-h ?    help-for-helpC-h i    info C-h C-h  help-for-helpC-h f    describe-functionC-x C-a  add-mode-abbrev C-x 5    split-window-horizontallyC-x C-b  list-buffers C-x ;    set-comment-columnC-x C-c  save-buffers-kill-emacs C-x <    scroll-leftC-x C-d  list-directory C-x =    what-cursor-positionC-x C-e  eval-last-sexp C-x >    scroll-rightC-x C-f  find-file C-x [    backward-pageC-x C-h  inverse-add-mode-abbrev C-x ]    forward-pageC-x TAB  indent-rigidly C-x ^    enlarge-windowC-x C-l  downcase-region C-x `    next-errorC-x C-n  set-goal-column C-x a    append-to-bufferC-x C-o  delete-blank-lines C-x b    switch-to-bufferC-x C-p  mark-page C-x d    diredC-x C-q  toggle-read-only C-x e    call-last-kbd-macroC-x C-r  find-file-read-only C-x f    set-fill-columnC-x C-s  save-buffer C-x g    insert-registerC-x C-t  transpose-lines C-x h    mark-whole-bufferC-x C-u  upcase-region C-x i    insert-fileC-x C-v  find-alternate-file C-x j    register-to-dotC-x C-w  write-file C-x k    kill-bufferC-x C-x  exchange-dot-and-mark C-x l    count-lines-pageC-x C-z  suspend-emacs C-x m    mailC-x ESC  repeat-complex-command C-x n    narrow-to-regionC-x $    set-selective-display C-x o    other-windowC-x (    start-kbd-macro C-x p    narrow-to-pageC-x )    end-kbd-macro C-x q    kbd-macro-queryC-x +    add-global-abbrev C-x r    copy-rectangle-to-registerC-x -    inverse-add-global-abbrev C-x s    save-some-buffersC-x .    set-fill-prefix C-x u    advertised-undoC-x /    dot-to-register C-x w    widenC-x 0    delete-window C-x x    copy-to-registerC-x 1    delete-other-windows C-x {    shrink-window-horizontallyC-x 2    split-window-vertically C-x }    enlarge-window-horizontallyC-x 4    ctl-x-4-prefix C-x DEL  backward-kill-sentenceESC C-SP mark-sexp ESC =    count-lines-regionESC C-a  beginning-of-defun ESC >    end-of-bufferESC C-b  backward-sexp ESC @    mark-wordESC C-c  exit-recursive-edit ESC O    ??ESC C-d  down-list ESC [    backward-paragraphESC C-e  end-of-defun ESC \    delete-horizontal-spaceESC C-f  forward-sexp ESC ]    forward-paragraphESC C-h  mark-defun ESC ^    delete-indentationESC LFD  indent-new-comment-line ESC a    backward-sentenceESC C-k  kill-sexp ESC b    backward-wordESC C-n  forward-list ESC c    capitalize-wordESC C-o  split-line ESC d    kill-wordESC C-p  backward-list ESC e    forward-sentenceESC C-s  isearch-forward-regexp ESC f    forward-wordESC C-t  transpose-sexps ESC g    fill-regionESC C-u  backward-up-list ESC h    mark-paragraphESC C-v  scroll-other-window ESC i    tab-to-tab-stopESC C-w  append-next-kill ESC j    indent-new-comment-lineESC ESC  ?? ESC k    kill-sentenceESC C-\  indent-region ESC l    downcase-wordESC SPC  just-one-space ESC m    back-to-indentationESC !    shell-command ESC q    fill-paragraphESC $    spell-word ESC r    move-to-window-lineESC %    query-replace ESC t    transpose-wordsESC '    abbrev-prefix-mark ESC u    upcase-wordESC (    insert-parentheses ESC v    scroll-downESC )    move-past-close-and-reindent ESC w    copy-region-as-killESC ,    tags-loop-continue ESC x    execute-extended-commandESC -    negative-argument ESC y    yank-popESC .    find-tag ESC z    zap-to-charESC 0 .. ESC 9  digit-argument ESC |    shell-command-on-regionESC ;    indent-for-comment ESC ~    not-modifiedESC <    beginning-of-buffer ESC DEL  backward-kill-wordC-x 4 C-f       find-file-other-window C-x 4 d  dired-other-windowC-x 4 .  find-tag-other-window C-x 4 f  find-file-other-windowC-x 4 b  pop-to-buffer C-x 4 m  mail-other-window