How I use Emacs

This is an unpublished draft

Please do not link to it.

Emacs is an extensible and customizable text editor that is popular among certain programming language communities. Emacs is also suited for taking notes (à la. orgmode). There are various “configuration kits” for Emacs. I use doom-emacs.

This article provides a brief overview of my workflow. However if you are new to Emacs, after installing these programs you should familiarize yourself with Vim keybindings (there are sevaral vim tutorials online for this) before proceeding.


The most important shortcut to know is SPC :, which allows you to run any arbitrary command. If you want to find out which function a particular shortcut invokes, use SPC h k followed by that shortcut. For the obverse—to find out the shortcut (and documentaion) for a particular function—use SPC h f.

Files & Buffers

Open a file:

Manage buffers:


Window management

Workspace management

Think of emacs workspaces as “virtual desktops”.



doom-emacs uses magit. SPC g g brings the magit-status buffer. The following shortcuts work on this buffer:

Code navigation

See also: tools/lookup


Visual mode

After having selected some text:

This is an unpublished draft

Please do not link to it.