• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 60, 文章 - 0, 評論 - 197, 引用 - 0
            數(shù)據(jù)加載中……

            Emacs Reference Card

            Starting Emacs


            To enter Emacs , just type its name: emacs

            To read in a file to edit, see Files below.   

             

            Leaving Emacs


            Suspend Emacs                                                           C-z

            Exit Emacs                                                                   C-x C-c     

             

            Files


            Read a file into Emacs                                                  C-x C-f

            Save a file back to disk                                                C-x C-s

            Save all files                                                                 C-x s

            Insert content of another file into this buffer               C-x i

            Replace this file with the file you really want               C-x C-v

            Write buffer to a specified file                                      C-x C-w

             

             

            Error Recovery


            Abort partially typed or excuting command                  C-g

            Recover a file lost by a system crash                           M-x recover-file

            Undo an unwanted change                                          C-x u

            Restore a buffer to its original buffer                           M-x revert-buffer

            Redraw garbaged screen                                             C-l

             

             

            Incremental Search


            Search forward                                                             C-s

            Search backward                                                          C-r

            Regular expression search                                           C-M-s

            Reverse regular expression search                              C-M-r

             

            Exit incremental search                                                RET

            Abort current search                                                    C-g

             

               

            Buffers


            Select another buffer                                                   C-x b

            List all buffers                                                              C-x C-b

            Kill a buffer                                                                   C-x k

             

            Transposing


            Transpose characters                                                  C-t

            Transpose words                                                         M-t

            Transpose lines                                                           C-x C-t

            Transpose sexps                                                         C-M-t

             

             

             

            Shells


            Execute a shell command                                              M-!

            Run a shell command on the region                              M-|

            Filter region through a shell command                          C-u M-|

            Start a shell in window shell                                         M-x shell

             

             

            Motion


            Entity to move over                                                     backward         forward

            Character                                                                     C-b                   C-f

            Word                                                                            M-b                  M-f

            Line                                                                              C-p                   C-n

            Go to line beginning(or end)                                        C-a                   C-e

            Sentence                                                                      M-a                   M-e

            Paragraph                                                                    M-{                  M-}

            Page                                                                             C-x [                 C-x ]

            Sexp                                                                             C-M-b               C-M-f

            Function                                                                        C-M-a               C-M-e

            Go to buffer beginning(or end)                                     M-<                  M->

             

            Scroll to next screen                                                    C-V

            Scroll to previous screen                                             M-v

            scroll current line to center of screen                          C-u C-l

             

             

            Killing and Deleting


            Entity to kill                                                                  backward         forward

            Character (delete, not kill)                                           DEL                  C-d

            Word                                                                            M-DEL              M-d

            Line                                                                                                      C-k

            Sentence                                                                     C-x DEL            M-k

             

            Kill region                                                                     C-w

            Kill through next occurrence of char                            M-z char

            Yank back last thing killed                                            C-y

             

             

            Marking


            Set mark here                                                              C-shift-SPC

            Exchange point and mark                                            C-x C-x

            Set mark paragraph                                                     M-h

            Set mark page                                                             C-x C-p

            Mark function                                                               C-M-h

            Mark entire buffer                                                        C-x h

             

             

            Query and Replace


            Interactively replace a text string                                M-%

            Using regular expressions                                           M-x query-replace-regexp

             

            Valid response in query-replace mode are:

            Replace this one, go on to next                                   SPC

            Replace this one, don’t move                                      ,

            Skip to next without replacing                                     DEL

            Replace all remaining matches                                     !

            Back up to the previous match                                     ^

            Exit query-replace                                                        ESC

             

             

            Register


            Save region in register                                                C-x r s

            Insert register contents  into buffer                            C-x r i

            Save value of point in register                                    C-x r SPC

            Just to point saved in register                                    C-x r j

             

            Multiple windows


            Delete all other windows                                             C-x 1

            Delete this window                                                      C-x 0

            Split window in two vertically                                       C-x 2

            Split window in two horizontally                                  C-x 3

            Scroll other window                                                     C-M-v

            Switch cursor to another window                                C-x o

            Shrink window shorter                                                 M-x shrink-window

            Grow window taller                                                      C-x ^

            Shrink window narrow                                                 C-x {

            Grow window wider                                                     C-x }

            Select buffer in another window                                  C-x 4 b

            Display buffer in other window                                    C-x 4 C-o

            Find file in other window                                              C-x 4 f

            Find file read-only in other window                              C-x 4 r

            Run dired in other window                                           C-x 4 d

            Find tag in other window                                             C-x 4 .

             

             

            Formatting


            Indent current line                                                       TAB

            Indent region                                                               C-M-\

            Insert new line after point                                           C-o

            Move rest of line vertically down                                  C-M-o

             

            Case Change


            Uppercase word                                                           M-u

            Lowercase word                                                           M-l

            Capitalize word                                                             M-c

            Uppercase region                                                         C-x C-u

            Lowercase region                                                         C-x C-l

            Capitalize region                                                          M-x capitalize-region

             

             

            The Minibuffer


            The following keys are defined in the minibuffer.

            Complete as much as possible                                     TAB

            Complete up to one word                                            SPC

            Complete and execute                                                 RET

            Show possible completions                                          ?

            Abort command                                                            C-g

            posted on 2007-09-05 19:24 Normandy 閱讀(565) 評論(0)  編輯 收藏 引用 所屬分類: Editor

            国产精品一区二区久久精品无码 | 99久久伊人精品综合观看| 国产午夜精品久久久久免费视| 久久久久女人精品毛片| 久久久中文字幕| 亚洲一级Av无码毛片久久精品| 香蕉久久夜色精品升级完成| 1000部精品久久久久久久久| 精品多毛少妇人妻AV免费久久| 天天躁日日躁狠狠久久 | 久久精品aⅴ无码中文字字幕不卡| 久久精品人人槡人妻人人玩AV| 久久精品国产国产精品四凭| 无码人妻久久一区二区三区免费| 国产毛片久久久久久国产毛片 | 中文字幕精品无码久久久久久3D日动漫 | 97久久超碰国产精品2021| 人妻中文久久久久| 99久久免费国产精品热| 国产成人无码精品久久久性色| 国产亚洲成人久久| 国产亚洲欧美精品久久久| 久久只这里是精品66| 久久激情五月丁香伊人| 久久er热视频在这里精品| 天天躁日日躁狠狠久久| 欧美黑人激情性久久| 精品久久久久久无码中文字幕| 粉嫩小泬无遮挡久久久久久| 亚洲国产精品无码久久久不卡 | 人妻无码αv中文字幕久久琪琪布 人妻无码久久一区二区三区免费 人妻无码中文久久久久专区 | 久久99精品久久久久久水蜜桃 | 久久99热这里只频精品6| 国产精品久久久久影院嫩草| 久久精品无码一区二区三区免费| 精品久久久久久久久久中文字幕| 欧美久久综合九色综合| 色欲久久久天天天综合网精品 | 91久久香蕉国产熟女线看| 久久天天躁狠狠躁夜夜2020老熟妇| 思思久久99热只有频精品66|