Skip to content

Cannot repeat paste done in insert mode #33

@AndrewRayCode

Description

@AndrewRayCode

vim -u NONE load vim with no plugins
i go into insert mode
⌘v paste clipboard contents
Esc return to normal mode
. repeat the paste
Beep! The cursor moves back one character, which is a nice feature.

Repeating works fine if it comes from a register. Eg, replace ⌘v above with ctrl-r*

Here's a workaround, which I figured out after a only 6 years of using MacVim:

inoremenu Edit.Paste <C-r><C-p>*

but i'm not sure if that's the exact behavior of MacVim's Edit.Paste. It works better than Vim's default ctrl-r * which comes with a random number generator and a few config flags to determine indenting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions