Ⅰ. 插件描述
an ack/ag powered global code search and view toolⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/ctrlsf-vim-hard-things'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/ctrlsf-vim-hard-things'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/ctrlsf-vim-hard-things'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/ctrlsf.vim
Ⅳ. 文档说明
An ack/ag powered code search and view tool, like ack.vim or :vimgrep but together with more context, and let you edit in-place with powerful edit mode.
Project repository: https://github.com/dyng/ctrlsf.vim
(Please view above github link for comprehensive demo.)
Features:
- Search and display result in a user friendly view with customizable context.
- Edit mode which is incredible useful when you are doing refactoring. (Inspired by vim-ags)
- Preview mode for fast exploring.
- Various options for more detailed search, view and edit.