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

Ctrl-C should switch to Normal mode from anything. #826

Open
ershov opened this issue Jul 10, 2023 · 7 comments
Open

Ctrl-C should switch to Normal mode from anything. #826

ershov opened this issue Jul 10, 2023 · 7 comments

Comments

@ershov
Copy link

ershov commented Jul 10, 2023

Hi,
I'm a Vim user. I'm used to the fact that Ctrl-C switches Vim to Normal mode from wherever it is. It doesn't work like that in SC-IM. I was constantly getting stuck in various weird regimes and wasn't able to escape it. I had to kill -9 the process since regular kill was not killing it too! Recently I found out the the universal escape key for SC-IM is the Escape key. Unfortunately Escape is always hard to handle in console, that's why Ctrl-C is more reliable.

How about making Ctrl-C act as return-to-Normal-from-anywhere just like it is in Vim?

@andmarti1424
Copy link
Owner

hello. yes. may be we can make change it so it returns to normal mode.

@andmarti1424
Copy link
Owner

@ershov Please update to latest commit on dev branch and retry!

@andmarti1424
Copy link
Owner

@ershov hello. could you take a look at this change?

@andmarti1424
Copy link
Owner

@ershov hello. could you test this?

@ershov
Copy link
Author

ershov commented Oct 2, 2023

@andmarti1424 Hey thank you for the update. While the situation with ^C seems better, it still gets stuck in some modes. One of these modes is when I press :. There are others but I'm not sure what are they.

Note: I expect ^C to escape me into the Normal mode.

Version used for testing: I downloaded the main branch today.

@andmarti1424
Copy link
Owner

Please update to latest commit on DEV branch. If you press : and then you press ^c it should show Got SIGINT. Back to NORMAL MODE message..

@andmarti1424
Copy link
Owner

@ershov could you test it with the dev branch?

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

No branches or pull requests

2 participants