by 000ooo000 · 3y ago · 0 comments
See here for relevant documentation: https://neovim.io/doc/user/change.html#formatting
gq is a linewise operation anyway, so gq_, gqil, and gqal all have the same effect
1) mark your lines (Shift+v then move your cursor)
2) press ':'
3) '<,'> !fmt -w 80
In the similar way I also use column to format text.