Answers for "vim delete from delimeter to end of line for all lines"

5

vim delete all lines

:1,$d
Posted by: Guest on March-27-2021
1

vim delete from delimeter to end of line for all lines

# Basic syntax:
:%norm $T<delimiter>D
# Where:
#	- % indicates that the command should be applied on all lines
#	- norm indicates that the command is to be run in normal mode
#	- $T - not sure - probably something like "to end of line"
#	- D indicates delete
Posted by: Guest on July-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language