Enable Ack in MacVIm

I am new to MacVim and installed Janus. I cannot figure out how to search for my project using Ack.vim.

The janus says: "Setup: Janus restores the -shift-f () command to call: 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 to use ack? If I need to install it, how can I do it? (assuming this has something to do with .vimrc or .vimrc.after, but I'm not sure)

thanks

+6
source share
3 answers

First you need to install ack - this is an external program:

Mac OS instructions can be found on the ack website and require MacPorts or homebrew.

+3
source

Ack is an external program, and Ack.vim is just the Ack interface. You need this interface for Ack, if you're already using Ack: if you don't already have it on your computer, you probably won't need it.

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

+3
source

In fact, here, with MacVim, combined with Janus.

if you open macvim via the command line 'mvim.' that is an opportunity. if you open via "open new macvim buffer here", ack is not available.

problems with guessing the path.

0
source

Source: https://habr.com/ru/post/913548/


All Articles