Ⅰ. 插件描述
Vim plugin for extending lines (e.g., underlined titles)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'drmikehenry/extline'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'drmikehenry/extline'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'drmikehenry/extline'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/drmikehenry/vim-extline
Ⅳ. 文档说明
Extline - plugin for extending lines (e.g., underlined titles)
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.
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