Emacs Common Shortcut keys

Source: Internet
Author: User

Basic commands

C-x c-f      Open/ new file C-X C-s     save current buffer C-X C    -W Current buffer Save as C--X C-v     Close the current buffer and open the new file C-x i          insert the file at the cursor C-x B         Toggle Buffercx C-b     display buffer list C -x k         Close current Bufferc-x c-c     off Emacs

Window commands

2        Horizontal Split pane C3        vertical split pane C0       Close Current windowC-x o      Toggle window C 1        Close Other windows C52 new    window C5 F    Open file in new window

Cursor Move command

C-F         forward one character C.-b       back one character C-p       Previous line C-n       next line M-F       forward one word m -b     back one word C-a       beginning C-e       line end C-v       down one page m-v      Up one page m-<       file Header M--      End of file


Edit command

C-Space         set start tag c.[email protected]                Set start tag (c-space may be blocked by operating system) M-w                copy tag area contents C- y-                  tack m-u                make the word at the cursor uppercase M-l                 make the word at the cursor lowercase m-C causes the word at the cursor to capitalize the                first letter C-K                  Delete a row

Search/Replace command

C-S          down-searchfor          m-%        replace -              space/y     replace current match -              del/N          do not replace the current match -              .                    Replace only the current match and exit -              ,                    Replace and pause (press space or Y to continue)-              !                     Replace all matches -             ^                    return to previous match -             return/q    exit replace

Emacs Common Shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.