numbertotext


Ⅰ. 插件描述

replace the numbers with the equivalent text to it

Ⅱ. 基本信息

创建日期:  2009-02-27
使用用户:  1
Github星:  2
插件作者:  sathiyamoorthy subramanian

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

When you want the number to be converted to its relevant text/string, it does that for you. Say 781 need to be converted to "seven hundred eighty one".

Just type _781 which will be replaced by seven hundred eighty one.

This script can be used for making this kind of conversion for the numbers 1 to 10000.

WARNING:
As this file contains 10000 abbreviation, it will take a couple of seconds to process when you open a file in vim editor.

SUGGESTION:
so disable this plugin whenever not needed.
( comment the pasted line in .vimrc file )

添加新评论