Stijn in Vim 1 minute

Vim Cheatsheet (in progress)

My vim cheatsheet (an ongoing effort)…

##Actions inside blocks

cit - change inside tag: delete text in between tags and enter insert mode
cat - change inside tag (include tags): delete text in between tags and enter insert mode (tags included)
dit - delete inside tag
dat - delete inside tag and tags
ca" - change text in between quotes
da" - delete text in between quotes

Searching

set smartcase "search case sensitive if at least one letter is uppercase, otherwise search case insensitive
\c            "search case insensitive (let this appear anywhere in search string)
\C            "search case sensitive (let this apprear anywhere in search string)