Skip to content

Multi-Line Bookmarks and Annotations for Visual Aids #180

@Swivelgames

Description

@Swivelgames

It would be helpful if it was possible to bookmark multiple lines using Visual Mode.

Use Case

One use case would be to highlight or annotate multiple lines in a single go to provide visual aid when coming back to something. I use this plugin as a visual aid for keeping track of certain things quite often, and I've found that it's an exceptional use-case for this plugin.

Internally

Internally to the plugin itself, the bookmark could very well be recorded for the first line in the highlight with a number indicating how many additional lines to highlight.

Example

It's something I naturally attempted to do when I grabbed the plugin, and I think it would be an awesome addition to the plugin. The ability do to so using Ctrl+V or Shift+V would be superb and a natural way to highlight multiple lines.

Screenshots to demonstrate this use-case are below:

Currently, you can only mark a single line

image

Hopefully, we'd have the ability to bookmark a set of lines

Most likely, the g:bookmark_sign would only show up on the first line as the one that is actually bookmarked.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions