How do you record a macro to remove comment lines starting with #?
Answer
qa/^#\nddq
Explanation
Record a macro that finds lines starting with # and deletes them. Run recursively with 100@a to remove all comment lines.
qa/^#\nddq
Record a macro that finds lines starting with # and deletes them. Run recursively with 100@a to remove all comment lines.