Impostare automaticamente i margini mentre si scrive un file testo con Vim
Jump to navigation
Jump to search
Se si vuole scrivere un file testo con largheza massima 80 colonne, settare l'opzione textwidth:
:set textwidth=70
To reformat a paragraph:
1. Position the cursor at the start of the paragraph. 2. Type gq}.
Per altre opzioni, come ad esempio riformattare delle liste numertae, vedere la guida: Vim Commands for Formatting AsciiDoc