Created
May 4, 2011 02:37
-
-
Save sathish316/954662 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emacs shortcuts | |
C-x C-c quit | |
C-v next screen | |
M-v previous screen | |
C-l move cursor to center | |
C-f forward char | |
C-b backward char | |
C-p previous line | |
C-n next line | |
M-f forward word | |
M-b backward word | |
C-a beginning of line | |
C-e end of line | |
M-a beginning of sentence | |
M-e end of sentence | |
M-< beginning of file | |
M-> end of file | |
C-u n cmd: multiplier | |
C-u n char: repeat char n times | |
M-x n cmd: repeat cmd n times | |
M-x n char: repeat char n times | |
C-x 1 only one window | |
C-u n char | |
insert char n times | |
C-d del char after cursor | |
M-d delete word after cursor | |
M-del delete word before cursor | |
C-k kill till end of line | |
M-k kill till end of sentence | |
C-spc C-@ set mark | |
C-w kill selected region | |
C-y yank from kill ring | |
C-u n C-k kill n lines | |
M-y cycle thru kill ring | |
C-x u OR C-_ undo | |
C-x C-f open file | |
C-x C-s save changes | |
C-x C-b list buffers | |
C-x b switch buffer | |
C-x s save buffers which require saving | |
C-x char: extended command | |
M-x command-name: extended command name | |
C-z suspend emacs | |
M-x ruby-mode switch major mode | |
C-h m doc on major mode | |
major mode: only one major mode can be active at a time | |
minor mode: one or more minor modes can be active at a time | |
C-s forward search | |
C-r reverse search | |
Enter terminate search | |
C-x 2 split horizontally | |
C-M-v scroll other window | |
C-M-Shift-v | |
C-x-o go to other window | |
C-x 4 C-f open file in other window | |
C-h ? context specific help | |
C-h c <command> help for command | |
C-h c <C-x 1> | |
C-h k <command> | |
help + doc for command's function | |
C-h f function-name | |
C-h v variable-name | |
C-h a apropos | |
C-h i read online manuals | |
C-h i Info help > m menu-item |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment