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

Vimode: Can't exit insert mode if 'g' was the last entered character. #1075

Closed
natopwns opened this issue Apr 28, 2021 · 3 comments · Fixed by #1100
Closed

Vimode: Can't exit insert mode if 'g' was the last entered character. #1075

natopwns opened this issue Apr 28, 2021 · 3 comments · Fixed by #1100
Assignees

Comments

@natopwns
Copy link

Steps to reproduce:

  • Enter insert mode.
  • Type the letter 'g'.
  • Try to exit insert mode.

Expected behavior:
Program exits insert mode.

Actual behavior:
Program stays in insert mode.

@techee techee self-assigned this Aug 10, 2021
@techee
Copy link
Member

techee commented Aug 10, 2021

I don't seem able to reproduce the problem. What exactly do you do? When I'm in command mode, enter insert mode using i, type g and press <esc>, I get back to the command mode.

@natopwns
Copy link
Author

natopwns commented Aug 17, 2021

It's still happening for me. I just open Geany, type i, type g, and press <esc>, which does nothing. As soon as I type any other character, <esc> sends me back to command mode.
I'm using Geany from the Arch repos, maybe it has to do with that. I'll try to build from source and see if it stills does the same thing.
EDIT: I have "Insert Mode for Dummies" on. When I turned that off, it works now. The bug is in "Insert Mode for Dummies".

@techee
Copy link
Member

techee commented Aug 17, 2021

EDIT: I have "Insert Mode for Dummies" on. When I turned that off, it works now. The bug is in "Insert Mode for Dummies".

Ah, OK, I can reproduce it now. Will investigate.

techee added a commit to techee/geany-plugins that referenced this issue Aug 17, 2021
This special command handling is not related to insert mode and causes
problems in "insert mode for dummies".

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

Successfully merging a pull request may close this issue.

2 participants