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

Feature request: Bookmarks #217

Open
drod3763 opened this issue Mar 6, 2024 · 1 comment
Open

Feature request: Bookmarks #217

drod3763 opened this issue Mar 6, 2024 · 1 comment

Comments

@drod3763
Copy link

drod3763 commented Mar 6, 2024

Have you searched existing Github issues to see if someone has already requested this feature?
Yes

Is your feature request related to a problem? Please describe.
I imagine my buffer will get large at some point and while I've seen some workarounds for this like naming blocks and using search I wonder if there is a faster way for me.

Describe the solution you'd like
I'd like to be able to bookmark a block or a line within a block so I can toggle back and forth between two blocks that might not be close to each other.

@kjk
Copy link

kjk commented Jul 6, 2024

I've implemented something like that in my fork (https://github.com/kjk/edna, https://edna.arslexis.io/).

I've added Ctrl + B command which shows this dialog:

image

You can type to narrow down the block, Enter to navigate to block, and first 10 blocks can be navigated with Ctrl + 0 - Ctrl - 9.

The block title is extracted from first non-empty line in the block.

This is my svelte 5 note so the blocks are various topics related to svelte.

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