Today I Learned

hashrocket A Hashrocket project

Delete the whole "word" that you are inside

If you want to delete the entire word that your cursor is sitting in, you can press diw.

This deletes the word that you are inside of.

If you use a big W this will delete all the way in either direction until it hits whitespace, rather than just the end of the "word".

See More #vim TILs
Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.