How to justify lines in Vim

Set your text width. For this example, we'll use 80 characters.

:set textwidth=80

Now put your cursor on a line to justify and type the following command,

Or you can type gq and then a direction such as j or k.

References

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.