Home | Projects | Notes > Unix/Linux > Vim Cheat Sheet

Vim Cheat Sheet

 

Global

 

Syntax

 

Cursor Movement

 

Editing

Insert Mode - Inserting/Appending Text

Editing in Normal Mode

Numbers

Cut and Paste

Search and Replace

Visual Mode

 

Tabs and Indents

In Normal Mode

In Insert Mode

In Visual Mode

 

Registers

 

Marks

 

Macros

Exiting

 

Working with Multiple Files

Split Windows

Buffers

 

Window Tabs

 

Text Appearance

Folding Text

 

NetRW Plugin

Built in vim v7.0 or higher

 

Vimgrep

 

Help

 

Plugins

Example (Color Scheme Plugin)

Vim Plugin Manager

 

Vim Diff

 

.vimrc (Vim Run Command)