Skip to content

Instantly share code, notes, and snippets.

@rishav
Created December 20, 2011 06:18
Show Gist options
  • Save rishav/1500517 to your computer and use it in GitHub Desktop.
Save rishav/1500517 to your computer and use it in GitHub Desktop.
Vim : Delete commands
dgg : will delete to the beginning of the file.
d$ : will delete from the current position to the end of the current line.
dG : will delete to the end of the file.
d0 : will delete to the beginning of the file
dw: will delete a word
dd: will delete the current line
2dd: will delete two lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment