Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I automatically insert comment leaders while typing comments?

0
Posted

How do I automatically insert comment leaders while typing comments?

0

‘formatoptions’ option. :set formatoptions+=ro You may also want to add the ‘c’ flag to auto-wrap comments using the ‘textwidth’ option setting and the ‘q’ flag to format comments with the “gq” command: :set formatoptions=croq For more information, read :help 30.6 :help format-comments :help ‘comments’ :help fo-table ============================================================================= SECTION 28 – QUICKFIX 28.1.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.