Table of Contents
, , ,

Vi

Some hints and tips for vi/vim.

Simple edition

:NNN
NNNdd
NNNyy
p
u
CTRL+r
.

Search and replace

cw
start,end s/string1/string2/g 

Save/Quit

:w
:x
:wq
:q!

Advanced

:set noai
:set noautoindent
:set ff=unix
:set encoding=utf-8
:set fileencoding=utf-8

Links