how to delete the selected items in vim editor code example
Example: vim select lines and delete
# Press v and you are in visual mode
# Select the lines
# Press x
# Press v and you are in visual mode
# Select the lines
# Press x