Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potentially enable outline-minor-mode #132

Open
hmelman opened this issue Feb 18, 2022 · 4 comments
Open

Potentially enable outline-minor-mode #132

hmelman opened this issue Feb 18, 2022 · 4 comments

Comments

@hmelman
Copy link

hmelman commented Feb 18, 2022

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)
@dajva
Copy link
Owner

dajva commented Mar 12, 2022

Thanks for the suggestion. Yeah looks nice with a quick try.

@hmelman
Copy link
Author

hmelman commented Oct 12, 2022

@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.

@dajva
Copy link
Owner

dajva commented Oct 16, 2022

It's not closed.

@hmelman
Copy link
Author

hmelman commented Oct 16, 2022

Ah, my mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants