You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deduping unlinked references items listed in the Org Roam buffer will improve browsability.
Long Description
The unlinked references section of Org Roam buffer lists matched line multiple times (this originates from ripgrep behavior). While the Magit-like support for being able to jump to the matched position is nice, repeatedly showing the same line bloats the buffer and making sense of search results difficult.
For example, in the following result, lines 333 and 337 contain the word "china" matched multiple times, and the rather long paragraph gets repeated for apparently no benefit.
(Note that truncation is avoided by the use of visual-line-mode and adaptive-wrap-prefix-mode for indentation of wrapped line. This is purely my personal settings.)
Proposed Implementation
A simple code modification to replace repetition with ellipses (... here) can make the Org Roam buffer cleaner to browse without loss of any information:
while the ability for us to click on the entry line to jump to the match via Magit is retained.
I will submit a PR implementing the minimal change.
The text was updated successfully, but these errors were encountered:
Brief Abstract
Deduping unlinked references items listed in the Org Roam buffer will improve browsability.
Long Description
The unlinked references section of Org Roam buffer lists matched line multiple times (this originates from ripgrep behavior). While the Magit-like support for being able to jump to the matched position is nice, repeatedly showing the same line bloats the buffer and making sense of search results difficult.
For example, in the following result, lines 333 and 337 contain the word "china" matched multiple times, and the rather long paragraph gets repeated for apparently no benefit.
(Note that truncation is avoided by the use of
visual-line-mode
andadaptive-wrap-prefix-mode
for indentation of wrapped line. This is purely my personal settings.)Proposed Implementation
A simple code modification to replace repetition with ellipses (
...
here) can make the Org Roam buffer cleaner to browse without loss of any information:while the ability for us to click on the entry line to jump to the match via Magit is retained.
I will submit a PR implementing the minimal change.
The text was updated successfully, but these errors were encountered: