Ⅰ. 插件描述
"Ack in Project" TextMate bundleⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'protocool/ack-tmbundle'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'protocool/ack-tmbundle'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'protocool/ack-tmbundle'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/protocool/ack-tmbundle
Ⅳ. 文档说明
Ack Textmate Bundle.
Version 0.1
<h2>You should probably use AckMate instead...</h2>
Users of Mac OS X 10.5 and above will have a much better expierence with "AckMate":http://github.com/protocool/AckMate (also authored by me). It eliminates many of this bundle's shortcomings.
<h2>Usage</h2>
Type command-shift-a to ack your project in TextMate... 'nuff said.
You can learn more about ack at http://petdance.com/ack/.
<h2>Installation</h2>
- Run this:
cd ~/Library/Application Support/TextMate/Bundles git clone git://github.com/protocool/ack-tmbundle.git Ack.tmbundle
<h2>Bugs</h2>
You can file tickets for any bugs using LightHouse.
<h2>Notes</h2>
The ack-standalone.sh script from http://petdance.com/ack/ is included in this bundle. You can use a different version of ack by setting the TM_ACK environment variable to point to your version.
This bundle has only been tested against this particular version of ack-standalone.
<h2>Per-project .ackrc</h2>
Ack normally honors the settings in your $HOME/.ackrc file. Additionally, any .ackrc file in your project directory (TM_PROJECT_DIRECTORY) will also be read.
You can switch-off loading of any .ackrc files in the 'Advanced options' drawer.
<h2>Background</h2>
The code is based on GrepInProject++ which was itself based on other's code as below:
# By Henrik Nyh (http://henrik.nyh.se) 2007-06-26 # Free to modify and redistribute with credit. # Includes some minor modifications by Max (http://max.xaok.org/webtek) 2007-08-01 # Adds search UI plus some minor modifications by Robert Thurnher (http://soup.robert42.com) 2007-08-11 # Further modifications by Trevor Squires (http://somethinglearned.com) 2008-05-21