new action in cp-switch-project to search with rg
* counsel-projectile.el (counsel-projectile-switch-project): new action to search with rg. [Closes #38]
This commit is contained in:
parent
b9950f6f0b
commit
9e3db12005
1 changed files with 5 additions and 1 deletions
|
|
@ -354,7 +354,11 @@ invokes `projectile-commander' instead of
|
||||||
("a" (lambda (dir)
|
("a" (lambda (dir)
|
||||||
(let ((projectile-switch-project-action 'counsel-projectile-ag))
|
(let ((projectile-switch-project-action 'counsel-projectile-ag))
|
||||||
(projectile-switch-project-by-name dir arg)))
|
(projectile-switch-project-by-name dir arg)))
|
||||||
"search with ag")))
|
"search with ag")
|
||||||
|
("R" (lambda (dir)
|
||||||
|
(let ((projectile-switch-project-action 'counsel-projectile-rg))
|
||||||
|
(projectile-switch-project-by-name dir arg)))
|
||||||
|
"search with rg")))
|
||||||
|
|
||||||
;;; counsel-projectile
|
;;; counsel-projectile
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue