Answers for "how to delete all lines in vim"

1

delete all lines in vi

#in command mode
gg #takes you to the first line
dG #deletes all
Posted by: Guest on June-14-2021
0

vim select lines and delete

# Press v and you are in visual mode
# Select the lines
# Press x
Posted by: Guest on March-31-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language