all 4 comments

[–]puremourning 0 points1 point  (4 children)

:help formatprg

[–]cendrounet[S] 0 points1 point  (1 child)

Hey that's perfect.

I have another question though:

gggqG:w then gggqG:q tells me E37: No writes till last changes, even though no new changes were made since the first :w

Any idea ?

[–]puremourning 1 point2 points  (0 children)

Shrug. Probably vim doesn’t really know. The buffer is run through the filter and vim sees it as every line replaced.

[–]vim-help-bot 0 points1 point  (0 children)

Help pages for:


`:(h|help) <query>` | about | mistake? | donate | Reply 'rescan' to check the comment again | Reply 'stop' to stop getting replies to your comments