Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In visual mode selection is automatically yanked #59

Open
nigredo-tori opened this issue Apr 4, 2024 · 0 comments
Open

In visual mode selection is automatically yanked #59

nigredo-tori opened this issue Apr 4, 2024 · 0 comments

Comments

@nigredo-tori
Copy link

nigredo-tori commented Apr 4, 2024

  1. Install IDEA Community Edition.
  2. Install Intellimacs as described in README.md.
  3. Use this .ideavimrc (the issue can be reproduced with the default one, but the rest doesn't make a difference):
    source ~/.intellimacs/spacemacs.vim
    
  4. Open a file (I have checked this for Scala and BUILD files).
  5. Select some text (e. g. V, j, j, j), and press Esc to return to normal mode.
  6. Paste (p).
  7. 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:

  1. Select and yank the first region.
  2. Select the second region.
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant