开发者

How to format paragraphs like RFCs using gvim?

I write quite an amount of documents using gvim. I notice that I spend more time in formatting them. I like the RFC format. Trying to optimize, I was looking for commands/m开发者_JS百科acros in gvim to do them efficiently. Has anyone tried RFC like formatting for paragraphs, headers with gvim?


If you know the appropriate config options for the par(1) external program (which has very high chances because I expect this is the program normally used to format RFC's), you can set the 'formatprg' setting to use it

  • http://vim.wikia.com/wiki/Par_text_reformatter
  • http://vimcasts.org/episodes/formatting-text-with-par/ (vimcast)

Good luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜