intellimacs
intellimacs copied to clipboard
In visual mode selection is automatically yanked
- Install IDEA Community Edition.
- Install Intellimacs as described in README.md.
- Use this
.ideavimrc
(the issue can be reproduced with the default one, but the rest doesn't make a difference):source ~/.intellimacs/spacemacs.vim
- Open a file (I have checked this for Scala and BUILD files).
- Select some text (e. g.
V
,j
,j
,j
), and pressEsc
to return to normal mode. - Paste (
p
). - See that the previously selected text is pasted, even though it was not yanked by the user!
This is annoying when attempting to replace one piece of text with another. Usually I do it like this:
- Select and yank the first region.
- Select the second region.
- Paste.
This no longer works, since on step 2 I lose the yanked data.
This seems to be an Intellimacs bug because with empty .ideavimrc
selection works as expected.