AdamT
AdamT

Reputation: 6485

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

Upvotes: 6

Views: 2415

Answers (3)

John Griffiths
John Griffiths

Reputation: 585

Actually getting the same thing here with MacVim combined with Janus.

if you open macvim via command-line 'mvim .' then ack is available. if you open via "open new macvim buffer here" ack is not available.

guessing path problems.

Upvotes: 0

romainl
romainl

Reputation: 196476

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.

Upvotes: 3

BergmannF
BergmannF

Reputation: 10235

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.

Upvotes: 4

Related Questions