Vim Commands

Unlike other editors, Vim has different modes. It starts in Normal mode, in which typed chars are interpreted as commands. Pressing 'i' or 'Insert', enter Vim in insert mode, from which you can type anything. To exit insert mode, just press 'Escape'. Something like that, here is some useful commands for VIM editor.

Vim Visual Mode

Indenting

Smart movements

Smart Finding and Replacing

# bad
arr = Array.new
hash = Hash.new

# good
arr = []
hash = {}

Quick editing commands

Combining Commands

Folding

Useful Programmer Commands

Buffers

Write File Readonly

Macro Recording