altr


Ⅰ. 插件描述

Vim plugin: Switch to the missing file without interaction

Ⅱ. 基本信息

创建日期:  2011-05-22
使用用户:  97
Github星:  61
插件作者:  Kana Natsuno

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

altr is a Vim plugin to switch files easily.For example, suppose that you are developing a Vim plugin which is called"foo".  You often edit specific files such as "autoload/foo.vim","doc/foo.txt", "plugin/foo.vim", etc.  Sometimes one of the files is notdisplayed in any window.  So you have to open the missing file explicitly.But there are many ways to open the missing file.  How do you open the missingfile?  |:edit|, |:buffer|, or your favorite buffer-management plugin?Whatever you choose, you have to type some keys to specify what the missingfile is.  So there is no way to open the missing file WITHOUT INTERACTION.You'll probably wish if there is a command to open the missing file withoutinteraction.  This plugin, altr, provides the command.The best keys and Ex commands to open the missing file are varied for eachuser.  So that altr doesn't define neither the default keys nor the default Excommands.  See |altr-examples| for details.Requirements:- Vim 7.2 or laterLatest version:http://github.com/kana/vim-altrDocument in HTML format:http://vim-doc.heroku.com/view?https://github.com/kana/vim-altr/blob/master/doc/altr.txt

添加新评论