Skip to content
Shin Okada edited this page Aug 6, 2015 · 1 revision
vfs # visual select find s
viw # visual select an inner word (no space after)
vaw # visual select a(round) word (with a space at the end)
diw # delete an inner word (you need x to delete a space)
daw # delete a(round) word (with space)
viW # visual select a inner WORD
vaW # visual select a(round) WORD
yaW # yank a(round) word
vip # select an inner paragraph
vap # will select a(round) line (after as well)
gUis # Uppercase an inner sentense
das # delete around a sentence including a space at the end
vit # visual select an inner tag
vat # visual select around a tag
cit # change inside a tag
vi( # visual select an inner parenthesis
vi) # same as above
va( # visual select around a bracket
vab # same as above
vi{  
va{
vaB # visual select around a curly braces
vi[
va[
vi"
va"
vib #

15. Vim-for-advanced-users.md


  1. Textobjects
  2. Autocommand
Clone this wiki locally