search

Home  >  Q&A  >  body text

markdown - How to quickly fill characters of a specific length in vim?

When using vim to write rst (reStructuredText) documents, I encountered such a demand.
In rst syntax, the next line of the title needs to be filled with ====.

this is h1
==========

I want to quickly fill in this paragraph ====, and the length is the length of the title of the previous line.

怪我咯怪我咯2773 days ago646

reply all(1)I'll reply

  • 滿天的星座

    滿天的星座2017-05-16 16:40:49

    yypVr=

    reply
    0
  • Cancelreply