How do you record a macro to convert tabs to spaces on each line?
Answer
qa:s/\t/ /g\njq
Explanation
Record a macro that substitutes all tabs with spaces on the current line, then moves down. Run across all lines with 999@a.
qa:s/\t/ /g\njq
Record a macro that substitutes all tabs with spaces on the current line, then moves down. Run across all lines with 999@a.