ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.57k stars 259 forks source link

Exception raised trying to paste in Ctrlp #531

Open marcelofern opened 4 years ago

marcelofern commented 4 years ago

I'm experiencing this error while trying to paste on CTRL+P prompt box:

image

System OS: Archlinux vim: Neovim

akoskm commented 2 years ago

I'm running into this exact same problem. Did you find a solution?

mattn commented 2 years ago

See :help ctrlp-pasting

akoskm commented 2 years ago

@mattn here's the full error message:

paste: Error executing lua: vim.lua:243: Vim:E21: Cannot make changes, 'modifiable' is off^@stack traceback:^@^I[C]: in function 'nvim_put'^@^Ivim.lua:243: in function <vim.lua:223>

Thanks for pointing to the help pages, here's what I'm experiencing:

    <Insert>,                                                   'ctrlp-pasting'
    <MiddleMouse>               // <-------- outputs the same error message
      Paste the clipboard content into the prompt.

    <c-\>                       // <- how should I interpret this? press c and \ while ctrlp is active?
      Open a console dialog to paste <cword>, <cfile>, the content of the search
      register, the last visual selection, the clipboard or any register into the
      prompt.