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

Automatic bookmarks #654

Open
Shamar opened this issue Dec 1, 2017 · 1 comment
Open

Automatic bookmarks #654

Shamar opened this issue Dec 1, 2017 · 1 comment
Labels

Comments

@Shamar
Copy link

Shamar commented Dec 1, 2017

In large C files I use bookmarks to organize code in sections marked by conments that describe what the cose does.

Lately I started to write such comments in markdown, so that I get something similar to literate haskell but in C.

However the bookmarks set at the beginning of each section are not preserved when I get changes from the git repository that other colleagues committed.

Given that these bookmarks are always marked by a new markdown header in a comment I'd like to have them automatically detected on file open.

That is: if the line match a regex, but a bookmark there.

@vossenjp
Copy link

+1 for this! My use case is: bookmark anything matching /^h\d+./, basically for editing Redmine wiki markup.

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

No branches or pull requests

3 participants