tris203 / precognition.nvim

💭👀precognition.nvim - Precognition uses virtual text and gutter signs to show available motions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrapped line

bdillahu opened this issue · comments

Great little plugin - I've used vim for a LONG time, but some of the basic move commands never stuck :-)

Anyhow... if I have 'set wrap' set, so that long lines are wrapped, the movement hints are under the "paragraph" (multiple on-screen lines representing the one really long line of text.

I'm not sure there is really anything that could be done about this, but wanted to point it out.

Thanks!

I think i could use the text width or window width and render the virtual line across multiple lines. I will do some testing in the next few days

I wanted to report this as well and add that when my cursor is not on the first line of a wrapped text, the virtual line only shows some characters:

image
image
image

Great great plugin by the way, I absolutely love it!

There is the begining of an implementation in the tw branch if you want to test it

As of the first commit, here are the results:

Screenshot from 2024-06-16 12-54-00
Screenshot from 2024-06-16 12-54-10
Screenshot from 2024-06-16 12-54-23
Screenshot from 2024-06-16 12-54-41
Screenshot from 2024-06-16 12-55-15
Screenshot from 2024-06-16 12-55-19