Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

How to search word under cursor using counsel-git-grep

(defun counsel-git-grep-at-point() (interactive) (let ((term (thing-at-point 'symbol t))) (counsel-git-grep term))) Applies for any other commands, e.g. I have it for occur too: (defun occur-thing-...
drets's user avatar
  • 213

Top 50 recent answers are included