sponsor Vim development Vim logo Vim Book Ad

extline : Plugin for extending lines (e.g., underlined titles)

 script karma  Rating 2/2, Downloaded by 982  Comments, bugs, improvements  Vim wiki

created by
Michael Henry
 
script type
utility
 
description
When writing titles in a plain text document, a common convention is to use
repeated punctuation characters to draw lines under (and sometimes over) the
title text.  This plugin helps maintain those title lines more easily, and
it provides support for standalone horizontal lines as well.

Titles are marked up in a manner compatible with reStructuredText[1], and the
various heading levels are chosen to coincide with the Sphinx[2] project's
conventions as follows::

    ##############
    Part (level 9)
    ##############

    *****************
    Chapter (level 0)
    *****************

    Section (level 1)
    =================

    Subsection (level 2)
    --------------------

    Subsubsection (level 3)
    ^^^^^^^^^^^^^^^^^^^^^^^

    Paragraph (level 4)
    """""""""""""""""""

    Level-5 heading
    '''''''''''''''

Extline provides methods for adding these lines, adjusting them to fit as the
section names changes, and for converting one level to another.

[1]: http://docutils.sourceforge.net/rst.html
[2]: http://sphinx-doc.org/

See documentation in doc/extline.txt for installation, customization, and
usage instructions.

Developed by Michael Henry (vim at drmikehenry.com).

Distributed under Vim's license.

Git repository:   https://github.com/drmikehenry/vim-extline
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
extline-0.2.1.zip 0.2.1 2023-05-07 7.0 Michael Henry - Fix line length for titles with multi-byte characters.  The previously used
  `len(title)` returned the size in bytes rather than logical characters,
  causing overly long line lengths for multi-byte characters.

- Allow multi-byte characters for "horizontal line update".
extline-0.2.0.zip 0.2.0 2013-10-03 7.0 Michael Henry Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github