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

Add a customization option: org-brain-narrow-to-entry #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vedang
Copy link

@vedang vedang commented May 28, 2021

Commit Message:

If this option is set to t, org-brain-goto will also narrow the
entry buffer to only show the entry, using org-narrow-to-subtree.
This is useful to only focus on the entry, which is what the reader
may want to do in most cases.

Explanation:

When I visit an entry, I don't want to see the rest of the contents of the buffer. This is especially true for deeply nested entries. This new custom var - org-narrow-to-subtree - let's me control the behavior of org-brain-goto to enable this. The custom var is turned off by default and does not affect the experience that users are familiar with.

If this option is set to t, `org-brain-goto` will also narrow the
entry buffer to only show the entry, using `org-narrow-to-subtree`.
This is useful to only focus on the entry, which is what the reader
may want to do in most cases.
@vedang vedang force-pushed the feature/narrow-to-entry branch from b8735f9 to b72812f Compare April 15, 2022 14:06
@vedang
Copy link
Author

vedang commented Apr 15, 2022

Gentle Reminder for review / merge of this change :)

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

Successfully merging this pull request may close these issues.

1 participant