Ack command with helm interface
Emacs Lisp
Pull request Compare This branch is even with syohex:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
image
.gitignore
Cask
Changes
README.md
helm-ack.el

README.md

helm-ack.el melpa badge melpa stable badge

This package is deprecated. This pacakge does not work with newer helm. Please switch to helm-ag. You can also use ack with helm-ag.

Introduction

helm-ack.el is App::ack helm interface.

I recommend you to use helm-ag instead of helm-ack. helm-ag provides much features than helm-ack and helm-ag also supports ack.

Screenshot

helm-ack

Requirements

  • Emacs 24 or higher
  • helm 1.0 or higher
  • App::Ack or ack-grep debian package.

Basic Usage

helm-ack

Input search word with ack. If you specified prefix argument(C-u), you can change searched directory.

helm-ack-pop-stack

Move to previous point on the stack.

Customize

helm-ack-use-ack-grep(Default is nil)

If you install ack as debian package, please set t to this variable.

helm-ack-base-command

Base ack command, default is "ack --nocolor --nogroup"

helm-ack-auto-set-filetype

Auto insert --type option, default is true.

helm-ack-thing-at-point(Default 'word)

Insert thing at point as default search pattern, you can set the value same as thing-at-point.

Sample Configuration

(require 'helm-config)
(require 'helm-ack)

(custom-set-variables
 ;; Does not insert '--type' option
 '(helm-ack-auto-set-filetype nil)
 ;; Insert "thing-at-point 'symbol" as search pattern
 '(helm-ack-thing-at-point 'symbol))