Editors

General

Two editors that satisfy our needs:

Common starting point

nano filename
vim filename

Nano

Nano explained

This editor is focused on being easy to use, but still providing every feature a user might need.

Interface

The interface consists of four parts, namely from top to bottom:

Usage

Nothing special, key-bindings visible while editing

Feature Usage
Navigation Arrow keys
Actual editing Typing text, as usual
Cut/Paste line <CTRL>+k / <CTRL>+u
explained in key bindings field

Short

Use this editor if you are new to the command line.
It is straight forward, but can be extended on the way.

Vi(m)

Vi(m) explained

This editor is focused on productivity and efficiency, providing everything a user might need.

Interface

The simple interface consists of two parts:

Since this editor is very easy to extend, after setting up a few plug-ins, it will probably look quite different!

Usage

This is a multi-mode editor, you’ll have to switch modes whenever you change what you want to do.

Feature Usage
Navigation Arrow keys
Writing change to input mode, then write as usual
Commands exit current mode, press :
explained on next slide

Short

Use this editor if you like a challenge.
It is fast and very nice — but you’ll sometimes get hurt on the way.

Vi(m) modes and keys

VI Reference