Ⅰ. 插件描述
characterize.vim: Unicode character metadataⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tpope/characterize-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tpope/characterize-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tpope/characterize-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tpope/vim-characterize
Ⅳ. 文档说明
# characterize.vim
In Vim, pressing ga
on a character reveals its representation in decimal,
octal, and hex. Characterize.vim modernizes this with the following
additions:
- Unicode character names:
U+00A9 COPYRIGHT SYMBOL
- Vim digraphs (type after
<C-K>
to insert the character):Co
,cO
- Emoji codes:
:copyright:
- HTML entities:
©
Installation
If you don't have a preferred installation method, I recommend
installing pathogen.vim, and
then simply copy and paste:
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-characterize.git
Contributing
See the contribution guidelines for
pathogen.vim.
Self-Promotion
Like characterize.vim? Follow the repository on
GitHub and vote for it on
vim.org. And if
you're feeling especially charitable, follow tpope on
Twitter and
GitHub.
License
Copyright © Tim Pope. Distributed under the same terms as Vim itself.
See :help license
.