Scenario: I've got 4 files in my Quickfix list and I want to add a new line, "status": "not started",
onto line 5 of each of them.
I tried this:
cfdo norm 5GO"status": "not started",
Which I thought would work on each file, move to line 5, O
adds an empty line, and then I'm adding my text. But this doesn't work.
What am I doing wrong, and is there a better way to do this?
:cfdo :call append(4, '"status": "not started"')
?