Hello, Vim Users,
I'm writing a fair amount of documentation in Asciidoc these days.
When entering a major section's title, a row of equal signs, tlides,
dashes, or carets equal to the length of the line of text above (or
within two or three of the exact length) must be entered so that the
line is recognized as a section title.
Example:
This is a section title, and the row of equal signs below it must be
of the same length as this text
====================================================================================================
I'm looking for a function to do this to reduce the tedium. Would
like to bind this new function to a key so it's quick to execute, say,
Ctrl-F1 or some such.
Ideas appreciated.
Keith
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Sunday, November 11, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment