Show Menu
Cheatography

Vim reference Cheat Sheet (DRAFT) by

Vim reference cheat sheet

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Sort

Highlight rows that you want to sort using CTRL+V, and then run one of the following commands:

:sort
:sort! # sort in reverse
:sort u # sort and remove duplicates
 

Quick Navigation

SHIFT + H - jump cursor to top of screen (high)
SHIFT + M - jump cursor to middle of screen (middle)
SHIFT + L - jump cursor to bottom of screen (low)

gg - jump cursor to first line of file
G - jump cursor to last line of file