rg.el
rg.el copied to clipboard
Potentially enable outline-minor-mode
Not sure about this, but enabling outline-minor-mode
in rg-mode
seems to be pretty nice, at least when rg-group-result
is t
. I'm sure it could be improved.
(defun hrm-rg-mode-hook ()
"My rg-mode-hook. Setup outline-minor-mode."
(setq-local outline-regexp "File:")
(outline-minor-mode 1))
(add-hook 'rg-mode-hook #'hrm-rg-mode-hook)
Thanks for the suggestion. Yeah looks nice with a quick try.
@dajva So I see that imenu support was added, but I don't see that outline-minor-mode support was added, so I don't know why this bug was closed.
It's not closed.
Ah, my mistake.