Vim

Personal VIM cheatsheet.

Useful Websites

Commands

Copy & move

:copy or :co or :t :move or :m

Normal cmd

Under the hood

Substitute cmds

:s is just shortcut for :substitute

Project-wide search and replace

/Rg "old" # will populate quick-fix list
:cfdo %s/old/new/gc # will ask you if you want to replace 'old' with 'new' for each occurence in quick-fix list
:wa #write all to disk

Search

Text editing

Navigation

Automatic Marks

Tabs

Motions

Spell checking

Netrw explorer

Registers (a.k.a. clipboard)

Buffers

Windows

Splits

Insert mode

Visual mode

Folding

Collapsing multiple lines of text into single line

Macros

External commands