command | description |
---|---|
M-x revert-bufer | Reloads the buffer from file and discard all the changes |
C-x C-q | Toggle read only mode |
M-x kill-some-buffers | Does what it say it does |
C-x r m | Create a bookmark |
C-x r b | Jump to a bookmark |
C-x r l | Bookmark list |
M-! | Run shell command |
M-| | Run shell command on region |
C-u M-! | Run shell command and puts the output into the current buffer |
C-x h | Mark all buffer and move cursor at the beginning of the buffer |
C-M-\ | Indent region |
C-x Tab | Indent region rigidly |
C-h k | Describe key |
M-m | Move cursor to first no empty caracter of a line |
M-a | Move to previus block |
M-e | Move to next block |
C-x ESC ESC | Re-execute a recent minibuffer command from the command history |
M-x list-command-history | Re-execute a recent minibuffer command from the command history |
C-x C-k r | Apply last keyboard macro to all lines in the region. |
C-u C-x r N | With a retangle selected, Add a column of numbers. |
Z (in dired mode) | Extract files (requires emacs 25.1) |
c (in dired mode) | Compress files (requires emacs 25.1) |
Ctrl + shift + ) | Move current parenteses to right |
M-x sgml-pretty-print | Format / Beutify HTML code |
C-x n n | Focus in on some portion of the buffer, making the rest temporarily inaccessible. |
M-x fill-region | Fill each of the paragraphs in the region. |
C-M-i | Open auto complete |
C-h l | Open recent inserted commands / inserted keys |
C-h a | Show what shortcuts does |
C-M-v and C-M-V | Scroll down and up respectively the buffer on the right without having to switch to that window. |
C-c LEFT an C-c Right | Allow us to undo and redo changes in the windows configuration. |
C-c ! n | flycheck-next-error - Go to next error on the buffer |
C-c ! p | flycheck-previous-error - Go to previous error on the buffer |
M-0 C-c ! C-w | flycheck-copy-errors-as-kill - Copy current error id |
Getting started with elisp:
M-x menu-bar-read-lispref | Emacs Lisp Reference |
---|
Emacs useful links:
Key Binding Conventions | https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html |
---|
Emacs useful articles:
The Emacs Guru Guide to Key Bindings | http://www.wilfred.me.uk/blog/2018/01/06/the-emacs-guru-guide-to-key-bindings/ |
---|
http://ergoemacs.org/misc/emacs_open_large_file_slow.html