Sublime escape key cannot enter anything

enter image description here

My sublime version is 3083. When I press the ESCAPE key, the cursor has changed and I can no longer enter the code. If I close it and open the file again. I can print again.

Using map-map, I change the key bindings and delete the following code. This will not happen again. but I canโ€™t close some window in a sublime view, like the window that I open with Ctrl + F.

Does this happen to anyone else?

{ "keys": ["escape"], "command": "clear_fields", "context": [ { "key": "has_next_field", "operator": "equal", "operand": true } ] }, { "keys": ["escape"], "command": "clear_fields", "context": [ { "key": "has_prev_field", "operator": "equal", "operand": true } ] } 
+5
source share
3 answers

I know this is an old question, but I had the same problem for a while, and it annoyed me to the end. I managed to figure out the problem and the solution, so I will post it here if anyone else has this problem.

The problem is that the "Vintage" package is not in the ignored_packages settings.

To solve: Settings-> Settings

This should open both global and user settings. In user settings, you'll probably have something line by line:

 { "ignored_packages": [ ] } 

Just change this to: (or add this to your user settings file)

 { "ignored_packages": [ "Vintage" ] } 
+7
source

When you press the escape key, you enter command mode. You can see that you are in this mode at the bottom of the Sublime Text frame. In this mode, you can perform various actions with the keyboard, for example, using the h , j , k and l keys to move the cursor and d d to delete a line. This is similar to what you get with Vim command mode.

If you want to exit command mode and return to insert mode, just press i .

Then you can write again, and you will see "INSERT MODE" at the bottom of the frame:

INSERT MODE

+3
source

I fixed this problem by uninstalling the Vintagous package that I installed many months ago. I have no idea why this problem occurred just a couple of days ago.

If you do not have a Vintagous package , I suggest you check to see if any of your packages uses โ€œescapeโ€ keybinding (you can quickly find it with the FindKeyConflicts package) and check if the problem is fixed by removing this package.

We hope this fix works for you.

0
source

Source: https://habr.com/ru/post/1237902/


All Articles