cream-numberlines


Ⅰ. 插件描述

Number lines of a selection

Ⅱ. 基本信息

创建日期:  2003-03-27
使用用户:  1
Github星:  1
插件作者:  Steve Hall

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/cream-numberlines'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/cream-numberlines'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/cream-numberlines'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/cream-numberlines

Ⅳ. 文档说明

Features:

o Dialog prompt for optional start number. (Default is actual line number.)

o Column of numbers is right justified.

Usage:

o Must be called from visual mode (with a selection).

o Required argument indicates mode, only "v" (visual) allowed.

o Example mapping:

    vmap <silent> <F12> :<C-u>call Cream_number_lines("v")

This is one of many custom utilities and functions for gVim from the Cream project (http://cream.sourceforge.net), a configuration of Vim for those of us familiar with Apple and Windows software.

添加新评论