high-str.nvim icon indicating copy to clipboard operation
high-str.nvim copied to clipboard

[ Feature Req ] Jump to Highlights

Open ldelossa opened this issue 2 years ago • 2 comments

Hey there,

I've been using your plugin to finally fill in that void of being able to highlight lines persistently across buffers.

The export and import stuff is great too, helps me keep my place when trying to learn large code bases.

The only thing I feel is lacking here is a "jump to previous" and "jump to next" highlight feature.

The use case being, you're studying a large code base, and making highlights along the way, you export and some time later, you import. It would be nice if you did not have to remember where your highlights were and could cycle thru them, jogging your memory.

ldelossa avatar Jan 05 '22 05:01 ldelossa

I second this request.

Example

HSJumpNext <color_id> : Jump to the next highlight associated to 'color_id'.
HSJumpPrev <color_id> : Jump to the previous highlight associated to 'color_id'.

If no color_id is specified, then the jump occurs to the next/previous highlight, no matter the colour.

pidgeon777 avatar Oct 21 '22 10:10 pidgeon777