This is where I put vim tips I want to remember.
Help search with regex: :helpgr
Show help topics with beginning foo: :he foo
Must have plugins
Replacing each line in a block select
Pressing s while in a block selection (ctrl-v) will let you write something in place of your selection, which will repeated for every line in the block selection when you press escape. Like pasting while in a block selection will do in ultraedit.
I and A act the same, but inserts or appends the text instead.
Landing the cursor on offsets from the search result: :he search-offset
^ instead of .* in regex
% instead of 1,$ in ranges
Open filename under cursor: gf
Split window and open filename under cursor in new window: ctrl-w f
Complete filename (insert mode): ctrl-x ctrl-f
Increment numbers: ctrl-a
Turning off vims idea that the number is octal: setnrformats -= octal
Complete from previous/next matching text in the same document: Ctrl-p/n
Include dictionary in completion loop: :set complete-=k complete+=k
Pipe output into vim: ls -l | vim – (notice the -)
Read output from external command: :r!ls -lA
Paste clipboard into commandline: ctrl-r + or ctrl-r * (depending on the register)
Paste word under cursor into commandline: ctrl-r ctrl-w
For complete command line ctrl-r command list: :he c_CTRL-R
Other vim tip pages
Causes problems over slow connections (like VPN):