win-vind icon indicating copy to clipboard operation
win-vind copied to clipboard

[Question] Weird behavior in NORMAL after `<c-k>`?

Open gilbh opened this issue 2 years ago • 6 comments

Hi,

I added this:

inoremap <c-k> to_edi_normal

-- but oddly when I type this the movement of the caret now highlights whole words. Also, all the <c- mappings are behaving strange, like <c-e> stops scrolling etc.

Please check and advise what I am doing wrong?

Thanks!!

This happens to me in Microsoft Word.

gilbh avatar Apr 21 '22 12:04 gilbh

It seems to me that <c-k> in MS Word conflicts with shortcuts. Also, what version of win-vind do you have? Thanks.

pit-ray avatar Jun 08 '22 16:06 pit-ray

The About shows version 4.3.3, but I am using the beta version you offered me for testing e ... I can't verify this because I think the About version is not updated ...

I checked and <c-k> without running win-vind does nothing in my Word. When I run it with win-vind, it does switch to Edit Normal, but with auto highlighting of every word I move the cursor to.

Hope this helps...

Thanks Gil

gilbh avatar Jun 09 '22 16:06 gilbh

Do you mean the highlighting that is selected and turns blue? A screenshot image would be helpful.

I have not been able to reproduce it, so please try the portable version with just inoremap <c-k> to_edi_normal. And if you know the smallest reproducible .vindrc, please let me know.

I will be able to develop win-vind this month. Thanks again.

pit-ray avatar Jun 09 '22 16:06 pit-ray

Screenshot: image Here, you can see the word "Gracefully" highlighted. If I click l, the highlight will jump to "blazing"....

I just tried to official release portable, adding to the empty .vindrc the mapping line from above, and it worked fine: <c-k> switched to Edit Normal without going into this weird auto-highlighting mode ... I guess this shows that the issue is related to the new e mechanism you added to the beta? This makes sense to me somehow, since e actually highlights the word in order to find its end, correct?

gilbh avatar Jun 09 '22 17:06 gilbh

I was able to confirm similar behavior with the current master. However, I am a bit puzzled as there is no problem with <c-t>, etc.

Need to do some detailed debugging, so please wait a while. Thanks again.

pit-ray avatar Jun 13 '22 15:06 pit-ray

Sure. Just a thought: perhaps it is the issue described in #83 and #86 ?

gilbh avatar Jun 18 '22 23:06 gilbh

This problem has been fixed in v5.

pit-ray avatar Jan 14 '24 08:01 pit-ray