On Sun, Nov 11, 2012 at 11:21 PM, Keith Christian <[email protected]> wrote: > 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
Hi Keith See this tip: http://vim.wikia.com/wiki/VimTip750 -- Dominique -- 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
