Emacs: Grab symbol at point for ripgrep searches
Alan Pearce alan@alanpearce.eu
Wed, 21 Feb 2018 15:53:38 +0100
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -578,6 +578,7 @@ (counsel-projectile-mode +1) (def-projectile-commander-method ?A "Find rg on project." (call-interactively #'counsel-projectile-rg)) + (setq counsel-projectile-rg-initial-input '(projectile-symbol-or-selection-at-point)) (define-key counsel-projectile-command-map (kbd "s s") #'counsel-projectile-rg))) ;;;;; vc