vim-alternate


Ⅰ. 插件描述

Alternate between .c and .h files quickly

Ⅱ. 基本信息

创建日期:  2012-06-05
使用用户:  21
Github星:  2
插件作者:  David Antler

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

alternate.vim

Alternate between .c and .h files quickly

Note: I am not the author of this script; merely hosting it here to easily keep
all my distributed vimconfigs up to date.

Copyright (c) 1998-2006
Michael Sharpe <feline@irendi.com>

We grant permission to use, copy modify, distribute, and sell this
software for any purpose without fee, provided that the above copyright
notice and this text are not removed. We make no guarantee about the
suitability of this software for any purpose and we are not liable
for any damages resulting from its use. Further, we are under no
obligation to maintain or extend this software. It is provided on an
"as is" basis without any expressed or implied warranty.

Directory & regex enhancements added by Bindu Wavell who is well known on
vim.sf.net

Patch for spaces in files/directories from Nathan Stien (also reported by
Soeren Sonnenburg)

添加新评论