Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vim #delete #delimeter #line #lines
ADD COMMENT
Topic
Name
9+2 =