hop.nvim icon indicating copy to clipboard operation
hop.nvim copied to clipboard

Feature request: `conceallevel` awareness

Open andmis opened this issue 3 years ago • 2 comments
trafficstars

In the following :help file screenshot, I cannot hop to the e: at the end of true: using hop_char2 with e: as the input:

image

The reason is that there is a concealed backtick between the e and the :. Do you think it could make sense for Hop to allow to get to that e with hop_char2 and e: as the input?

andmis avatar May 13 '22 18:05 andmis

I’m not even sure it would be possible?

hadronized avatar Jun 21 '22 13:06 hadronized

Why not? Hop controls the logic of where different keypresses send the cursor. Hop would just need to have some way of determining which characters are concealed – perhaps the Neovim API already provides this, or could provide it?

andmis avatar Jun 22 '22 19:06 andmis