bbatsov / helm-projectile

Helm UI for Projectile
329 stars 71 forks source link

Allow grep actions to be customized #36

Closed dandavison closed 8 years ago

dandavison commented 8 years ago

This PR makes it possible to customize the helm "actions" that are available when using helm-projectile-grep. So with this, one can add a new action as follows:

(setq helm-projectile-grep-or-ack-actions
      (append helm-projectile-grep-or-ack-actions
              '("My new action"
                my-new-action-function)))

AIUI it is not possible to use the usual helm API helm-add-action-to-source, because helm-projectile-grep-or-ack overwrites the source.

dandavison commented 8 years ago

@bbatsov do you have time to consider this PR?

dandavison commented 8 years ago

Thanks @bbatsov, I've responded to your comments.

dandavison commented 8 years ago

@bbatsov ping!