diff options
| author | Philip Kaludercic <philipk@posteo.net> | 2025-05-01 14:50:35 +0200 |
|---|---|---|
| committer | Philip Kaludercic <philipk@posteo.net> | 2025-05-01 14:51:37 +0200 |
| commit | 09a05933f1557819e83846e71a92c20222f6cabc (patch) | |
| tree | 4673661ca7d0851ede8c9d026ed90220eb298487 | |
| parent | 70528787202286921de317d4dc2b1d32c568537d (diff) | |
Add key to run 'rgrep' in the current directory
| -rw-r--r-- | do-at-point.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/do-at-point.el b/do-at-point.el index 63e4b9b..e6663e8 100644 --- a/do-at-point.el +++ b/do-at-point.el @@ -112,6 +112,8 @@ of this variable.") (write-region beg end file)))) (?k "Kill" ,#'kill-region) (?n "Narrow" ,#'narrow-to-region) + (?g "Grep" ,(lambda (str) + (rgrep (regexp-quote str) "*" "."))) (?$ "Spell check" ,#'ispell-region) (?| "Pipe command" ,(lambda (beg end) |
