Updated: 31 May 2023
Execute [cmd]
(default :p)
on lines within [range]
where {pattern}
matches
:[range]g[lobal]/{pattern}/[cmd]
Delete blank lines
:g/^$/d
Freelance software engineer United Kingdom
Updated: 31 May 2023
Execute [cmd]
(default :p)
on lines within [range]
where {pattern}
matches
:[range]g[lobal]/{pattern}/[cmd]
Delete blank lines
:g/^$/d