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 zsh when I switch to command mode the status does not reset if I hit enter or ctrl-c while still in command mode. #12

Closed
edklem opened this issue Sep 26, 2021 · 3 comments
Assignees

Comments

@edklem
Copy link
Contributor

edklem commented Sep 26, 2021

While in vi mode on zsh the ":" does not reset to "+" at start of the new prompt if you hit enter while still in vi cmd mode.
For example if you hit ESC and then "k" to go back through command history and just press enter to execute the command the new prompt will show a ":" even though we are back in insert mode.

I have a one line fix that would go in the zsh section. I can send a PR if you like.
Thanks.

@agkozak
Copy link
Owner

agkozak commented Sep 26, 2021

You're absolutely right. Yes, go ahead and submit a PR -- I'll be interested to see how you fix it.

@agkozak agkozak self-assigned this Sep 26, 2021
@agkozak
Copy link
Owner

agkozak commented Sep 27, 2021

Merged. Thank you so much for your contribution.

@agkozak agkozak closed this as completed Sep 27, 2021
@edklem
Copy link
Contributor Author

edklem commented Sep 27, 2021

Sure no problem, and thank you for the project, I am digging it.

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

2 participants