-
In the screenshot I just expanded the for-snippet (the cursor is pink) If I press If I press any other character I can fill out the blanks as one would expect. Any idea why this happens? Is this a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Could you check |
Beta Was this translation helpful? Give feedback.
-
Oh! Thank you so much for your quick answer. You are right. This is the culprit https://github.com/pogopaule/dotfiles/blob/7f5f7427e9efa637221c7d653593473c9dca229e/nvim/lua/config/keymaps.lua#L40. Changing v to x fixes the issue. I didn't know the difference between x, v and s...until today |
Beta Was this translation helpful? Give feedback.
Could you check
:map p
? I suspect that some mapping meant for visual only is registered viavmap
(applies to SELECT and VISUAL) instead ofxmap
(:h map-table
)