Vim

In search of a calm editor with few distractions, here's an attempt at a configuration for the Vim text editor. While some don't consider Vim to be an editor with low cognitive load, I humbly disagree with this. Yes it has a learning curve, but it's well documented, and you can learn basic functionality very quickly. Also, the basic use of Vim does not change much, so everything you learn is knowledge you can use for decades.

Features

Keyboard shortcuts

Use these in 'normal' mode. Press SPACE before each key.

KeyAction
cClear search highlight
dToggle dark / light background
sToggle syntax highlighting
tInsert timestamp
GToggle the Goyo plugin (center your text)
LToggle the Limelight plugin (highlight current paragraph, darken others)

Code

.vimrc. Save this file as $HOME/.vimrc and customize it to your heart's desire :-)

Some Vim tips

Vim offers a lot of shortcuts for functionality to help you edit conveniently and fast. But you don't need to remember them all. I don't. Here are a few I do use regularly and which seem to stick in my mind.

KeyAction
{Move cursor to before current paragraph
}Move cursor to after current paragraph
/ForwardMove cursor to next occurrence of 'Forward'
?BackwardMove cursor to previous occurrence of 'Backward'
nMove cursor to next match of previous search term
ggMove cursor to beginning of file
GMove cursor to end of file
:42Move cursor to line 42
y4lYank (copy) the next 4 characters starting from the cursor
y4yYank (copy) 4 lines starting from the cursor
pPaste yanked contents after current line
PPaste yanked contents before current line
:puPaste yanked contents before current line
ciwReplace word (think Change In Word)
ci(Change next text between ()
ci<Change next text between < and > (think HTML tags)
.Repeat last modification action

Screenshots

Below are some screenshots of how this configuration of Vim looks. Click on them to see a larger version. I mostly use have Limelight and syntax disabled, and use Vim full screen. So my screen usually looks like something resembling the first screenshot.

Vim + Goyo
Vim and Goyo
Vim + Goyo + LimeLight
Vim, Goyo and LimeLight
Vim + Goyo + LimeLight + Syntax highlighting
Vim, Goyo, LimeLight and syntax highlighting