Just some Emacs things that I cannot seem to remember without writing them down. I'm an Emacs newbie (but have been using it for 15 years).
These are random and specific to my setup, so probably not useful to anyone else.
Config can be found here: https://github.com/martijnvermaat/dotfiles
C-x C-f
Find file.C-x C-s
Save buffer.C-x s
Query to save all buffers.C-x k
Delete buffer.C-x b
Switch buffer.C-x o
Go to next window.C-x 0
Delete current window.C-x 1
Delete other window.C-x 2
Split window vertically.C-x 3
Split window horizontally.
C-x g
Magit status.C-x M-g
Magit dispatch popup.
Interactively do things with buffers and files. http://emacswiki.org/emacs/InteractivelyDoThings
C-f
Fall back tofind-file
without Ido.C-b
Fall back toswitch-buffer
without Ido.C-a
Toggle showing ignored files.
A smart M-x enhancement for Emacs built on Ido. https://github.com/nonsequitur/smex
C-h f
Run describe-function on the selected command.C-h w
Show the key bindings for the selected command.
Treat undo history as a tree. http://www.dr-qubit.org/emacs.php
C-x u
Visualize the undo tree.d
Toggle diff display.q
Quit the tree visualizer.
<F8>
Toggle neotree.H
Toggle display hidden files.
Python auto-completion for Emacs. https://github.com/tkf/emacs-jedi
C-c ?
Show the documentation of the object at point.C-c .
Goto the definition of the object at point.C-c ,
Goto the last point whereC-c .
was called.
A JavaScript code analyzer for deep, cross-editor language support. https://github.com/marijnh/tern
M-.
Jump to the definition of the thing under the cursor.M-,
Brings you back to last place you were when you pressedM-.
.C-c C-c
Find the type of the thing under the cursor.C-c C-d
Find docs of the thing under the cursor. Press again to open the associated URL (if any).
C-x (
Start defining macro.C-x )
Stop defining macro.C-x e
Execute macro (C-u
prefixed to execute any number of times).C-x C-k C-i
Insert macro counter (C-u
prefixed for increment other than 1).