afterimage.vim


Ⅰ. 插件描述

afterimage.vim: edit binary files by converting them to text equivalents

Ⅱ. 基本信息

创建日期:  2006-07-26
使用用户:  72
Github星:  143
插件作者:  Tim Pope

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

afterimage.vim

Edit ICO, PNG, and GIF icons. No really. They're converted with
ImageMagick to XPM, a plain text image
format with beautiful syntax highlighting in GUI versions of Vim. Here,
it's easier just to show you:

Beautiful syntax highlighting

And yes, I did say edit. Obviously you're not going to be uninstalling
Photoshop anytime soon, but for stupid simple tweaks, it gets the job
done.

Oh, and it can also handle PDFs (with
pdftk),
Word Documents (read-only, with Antiword),
and Mac OS X plist files.

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-afterimage.git

Once help tags have been generated, you can view the manual with
:help afterimage.

Contributing

See the contribution guidelines for
pathogen.vim.

Self-Promotion

Like afterimage.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 (c) Tim Pope. Distributed under the same terms as Vim itself.
See :help license.

添加新评论