- Published on
gw in NeoVim
gw{motion}- Format the lines that
{motion}moves over. Similar togqbut puts the cursor back at the same position in the text. However,formatprg' andformatexpr` are not used.
- Format the lines that
gwgworgww- Format the current line as with
gw.
- Format the current line as with
{Visual}gw- Format the highlighted text as with
gw.
- Format the highlighted text as with