Skip to content

Instantly share code, notes, and snippets.

@benwoodward
Created August 30, 2012 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benwoodward/3544669 to your computer and use it in GitHub Desktop.
Save benwoodward/3544669 to your computer and use it in GitHub Desktop.
Vim commands worth remembering ..

change / delete to a character

ct[char] # e.g. ct" to delete to the next " and go into insert mode dt[char] # dt" to delete up to next "

change inner-word, delineate with "

ci"

delete after-word, delineate with parens

da)

Some useful references; http://blog.interlinked.org/tutorials/vim_tutorial.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment