vim delete everything to the right of cursor in current line code example Example: vim delete line after cursor D (shift+d)