feat(tazjin/emacs): Add #'rg-in-project

Uses project.el to anchor the ripgrep search. In combination with my
project detection logic, this means that grepping in TVL subprojects
works automatically.

Change-Id: I2705466d1de156c08ff0401a71112864aa24f976
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2542
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-02-22 10:49:28 +02:00 committed by tazjin
parent 83e81def23
commit bef01b1419
3 changed files with 12 additions and 2 deletions

View file

@ -45,8 +45,7 @@
(use-package counsel
:after (ivy)
:config (counsel-mode 1)
:bind (("C-c r g" . counsel-rg)))
:config (counsel-mode 1))
(use-package dash)
(use-package dash-functional)