delete every thing in vim code example Example: vim select lines and delete Click to copy# Press v and you are in visual mode # Select the lines # Press x