Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn on Ack in MacVIm

I'm new to MacVim and have installed Janus. I can't figure out how to search my project using Ack.vim.

For janus it says "Customizations: Janus rebinds command-shift-f () to bring up :Ack." But when I do command-shift-f I get this message:

The plugin ack is disabled for the following reason: The ack program is not installed

How do I use ack? If I have to install it, how do I do so? (guessing it has something to do with .vimrc or .vimrc.after but am not sure)

Thanks

like image 534
AdamT Avatar asked Apr 18 '12 15:04

AdamT


2 Answers

You have to install ack first - it is an external program:

Instructions for Mac OS can be found on the ack-website and require MacPorts or homebrew.

like image 196
BergmannF Avatar answered Oct 20 '22 15:10

BergmannF


Ack is an external program and Ack.vim is only an interface to Ack. You want that interface to Ack if you already use Ack: if you don't already have it on your machine you probably don't need it.

If you really need/want to use Ack, just install it.

like image 25
romainl Avatar answered Oct 20 '22 15:10

romainl