Skip to content

Bug report: command mode mapping does not work very well for some case. #1136 #580

Open
@kgfly

Description

@kgfly
local opts = { noremap = true, silent = true }
vim.keymap.set({'c'}, '<c-v>', '<c-r>*', opts)

does not work very well.

Observed:
I yank a dummy string, eg "adsfadsfasdf"
In command mode, I press c-v, tring to paste. I see.

Image

The pasted string is actually there. But the issue is: it is not visible.

I press entry key. It prompted

Image

, which means it has been pasted, but it's invisible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions