Ⅰ. 插件描述
A replacement for Vim's find command that is much more usefulⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'marczych/vim-lose'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'marczych/vim-lose'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'marczych/vim-lose'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/marczych/vim-lose
Ⅳ. 文档说明
lose.vim
I find Vim's find command incredibly useful. However, there are a few issues
I have with it that are addressed in this plugin.
Lose presents :Lose
which is functionally equivalent to vim's built-in find
command with a few differences. First, if multiple files match the search, the
user selects which one to open. Second, globbing is supported so *.txt
is a
valid query.
Just like Vim's built-in find command, the path
option must be set by
running set path=<path dir>
. However, including **
to allow searching
subdirectories is unnecessary for Lose.
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/marczych/vim-lose.git
Once help tags have been generated, you can view the manual with:help lose
.
License
Copyright (c) Marc Zych. Distributed under the same terms as Vim itself.
See :help license
.