# Basic syntax:
dd
# Note, add a number in from of dd to delete that many lines, e.g.:
5dd # Delete the next 5 lines
:1,$d
:1d|g/^/+d # Every other odd line
# 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
:g/^/+d # Every other even line
//Delete all lines containing profile
:g/profile/d
# Press v and you are in visual mode
# Select the lines
# Press x