Some Important Emacs Commands

Help:
`help-for-help':
    Help command.
    Where to find it:  <help> ?
                       <help> <f1>
                       <help> <help>
                       <help> C-h
                       <f1> ?
                       <f1> <f1>
                       <f1> <help>
                       <f1> C-h
`info-emacs-manual':
    Display the Emacs manual in Info mode.
    Where to find it:  <menu-bar> <help-menu> <emacs-manual>
                       <help> r
                       <f1> r
`info':
    Enter Info, the documentation browser.
    Where to find it:  <help> i
                       <f1> i

Special Functions and Keys:
Indent line:
    Indent current line (done by specific major mode function).
    Where to find it:  <tab>
Completion:
    Performe completion at point (done by specific major mode function).
    Where to find it:  <meta> <tab>

Files, Buffers and Windows:
`find-file':
    Edit file FILENAME.
    Where to find it:  <menu-bar> <file> <new-file>
                       C-x C-f
                       <open>
                       v
`save-buffer':
    Save current buffer in visited file if modified.
    Where to find it:  <menu-bar> <file> <save-buffer>
                       C-x C-s
`write-file':
    Write current buffer into file FILENAME.
    Where to find it:  <menu-bar> <file> <write-file>
                       C-x C-w
`split-window-vertically':
    Split selected window into two windows, one above the other.
    Where to find it:  <menu-bar> <file> <split-window>
                       C-x 2
`split-window-horizontally':
    Split selected window into two windows side by side.
    Where to find it:  C-x 3
`delete-other-windows':
    Make WINDOW (or the selected window) fill its frame.
    Where to find it:  <menu-bar> <file> <one-window>
                       C-x 1
`other-window':
    Select another window in cyclic ordering of windows.
    Where to find it:  C-x o
`buffer-menu':
    Make a menu of buffers so you can save, delete or select them.
    Where to find it:  M-x buffer-menu

Search and replace:
`isearch-forward':
    Do incremental search forward.
    Where to find it:  <menu-bar> <edit> <search> <i-search> <isearch-forward>
                       C-s
`isearch-backward':
    Do incremental search backward.
    Where to find it:  <menu-bar> <edit> <search> <i-search> <isearch-backward>
                       C-r
`query-replace':
    Replace some occurrences of FROM-STRING with TO-STRING.
    Where to find it:  <menu-bar> <edit> <replace> <query-replace>
                       M-%
`isearch-forward-regexp':
    Do incremental search forward for regular expression.
    Where to find it:  <menu-bar> <edit> <search> <i-search> <isearch-forward-regexp>
                       C-M-s
`isearch-backward-regexp':
    Do incremental search backward for regular expression.
    Where to find it:  <menu-bar> <edit> <search> <i-search> <isearch-backward-regexp>
                       C-M-r
`query-replace-regexp':
    Replace some things after point matching REGEXP with TO-STRING.
    Where to find it:  <menu-bar> <edit> <replace> <query-replace-regexp>
                       C-M-%
`occur':
    Show all lines in the current buffer containing a match for REGEXP.
    Where to find it:  M-s o
`lgrep':
    Run grep, searching for REGEXP in FILES in directory DIR.
    Where to find it:  M-x lgrep
`rgrep':
    Recursively grep for REGEXP in FILES in directory tree rooted at DIR.
    Where to find it:  M-x rgrep

Lines:
`move-beginning-of-line':
    Move point to beginning of current line as displayed.
    Where to find it:  C-S-a
`move-end-of-line':
    Move point to end of current line as displayed.
    Where to find it:  M-x move-end-of-line
`kill-line':
    Kill the rest of the current line; if no nonblanks there, kill thru newline.
    Where to find it:  C-k
                       <deleteline>

Words:
`forward-word':
    Move point forward ARG words (backward if ARG is negative).
    Where to find it:  M-f
                       <C-right>
`backward-word':
    Move backward until encountering the beginning of a word.
    Where to find it:  M-b
                       <C-left>
`kill-word':
    Kill characters forward until encountering the end of a word.
    Where to find it:  M-d
                       <C-delete>

Region:
`set-mark-command':
    Set the mark where point is, or jump to the mark.
    Where to find it:  C-@
                       C-SPC
`kill-region':
    Kill ("cut") text between point and mark.
    Where to find it:  <S-delete>
                       C-x <timeout>
                       C-S-w
`copy-region-as-kill':
    Save the region as if killed, but don't kill it.
    Where to find it:  C-c <timeout>
`yank':
    Reinsert ("paste") the last stretch of killed text.
    Where to find it:  <S-insertchar>
                       <S-insert>
                       C-v
`yank-pop':
    Replace just-yanked stretch of killed text with a different stretch.
    Where to find it:  M-y

Undo:
`undo':
    Undo some previous changes.
    Where to find it:  C-x u
                       <menu-bar> <edit> <undo>
                       C-_
                       <undo>
                       C-/
                       C-z

[back]