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

AceJump causes pressing Enter in VIM normal mode to insert a blank line #443

Open
alexeygrant opened this issue Jul 18, 2023 · 2 comments
Open
Labels

Comments

@alexeygrant
Copy link

Describe the bug
If both AceJump and IdeaVim are installed, then when pressing Enter in the normal mode a new line is inserted.

To Reproduce
Steps to reproduce the behavior:

  1. Install both AceJump and IdeaVim plugins
  2. Make sure you are in the Normal mode in the editor
  3. Press Enter
  4. The new line is inserted.

Expected behavior
In IdeaVim Normal mode pressing Enter should move cursor one line down without inserting a new line.

Desktop (please complete the following information):

  • OS: Windows
  • Rider 2023.1.3
  • AceJump version: 3.8.14
@breandan
Copy link
Collaborator

Hi @alexeygrant, thanks for reporting. I am unable to reproduce this issue as described on AceJump 3.8.14 with IdeaVim 2.3.0 running on #IC-231.8109.175. I tried (1) activating AceJump in normal mode, then pressing Enter (2) activating AceJump, pressing a (to search for a letter) then pressing Enter. None of these inserted a new line, however it is possible the issue could be Rider-specific. Does the issue only occur in normal mode or other modes as well? Is it possible your Enter key is rebound in .ideavimrc or in the IDE settings?

@alexeygrant
Copy link
Author

alexeygrant commented Jul 20, 2023

Hi @breandan,
thanks for your reply, it pointed me in the right direction. In my .ideavimrc file I had a sethandler setting: sethandler a:ide. As soon as I commented it out, pressing Enter in the normal mode began acting correctly with or without AceJump enabled.
I still find it confusing as sethandler should have nothing to with AceJump.

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

No branches or pull requests

2 participants