Search code examples
vimvim-plugin

vim doesn't react to register access command `"` - how to fix it?


Whenever I type " in normal mode in vim it never appears - the editor (I tried both on Ubuntu 16.04 and macOS 10.13 with terminal vim as well as Spacemacs with evil) does not react - double quote does not appear in the command line, nor editor pastes anything when I use, e.g. "+p. I verified with :reg that I have all default registers and they are filled with data.

What can be the source of the problem and how to fix it?

I very often come with a case where "0p or "*p would fit perfectly and have to deal with them manually.


Solution

  • I use Linux, so this solution will work on Linux and FreeBSD (maybe MacOS).

    For me worked adding set showcmd into .vimrc file. To do it, execute this command:

    echo "set showcmd" >> ~/.vimrc