-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Remapping ESC in insert mode with CR or Space does work via settings #2584
Comments
Restart vscode after you add the mapping ;) |
That doesn't work either unfortunately. At least with the solution presented in README. I haven't tried with the others. I legit think I'm just doing something wrong, I just don't know what. |
Alright, I don't know what I did differently, but I left my computer for 6 hours and now it is working in some cases. Anything with |
A way I just found around it is to do a keyboard mapping of Shift+Enter in normal VS Code keyboard maps:
Probably not ideal, but it doesn't appear to interfere with anything. |
Mis-read this original issue. The remapping example works for me...
The Closing this as a dupe of #1908 |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
What happened:
Remapping to ESC does not work at all. This includes the solution posted in the README and will all other extensions disabled. I have no fucking clue what's going on.
I've been going off of #1908 and #2411 as some general guidelines to trying to solve the issue.
Firstly, as previously mentioned, I tried the solution presented in the README:
When I'm in insert mode and press jj it simply types out "jj". Honestly, that's not that surprising to me. I have no idea why you'd want this anyways (I'm probably using it wrong honestly).
I've traded out the
"before"
sequence for["j","j"]
,["<S-Space>"]
, and["<S-CR>"]
,I've traded out the
"after"
for the"commands"
equivalent ("extension.vim_escape"
).I've tried out
"vim.insertModeKeyBindings"
for"vim.insertModeKeyBindingsNonRecursive"
None of these work. Again, the only extension enabled is Vim. And it doesn't do anything
What did you expect to happen:
I expected to type jj or whatever key combination I've chosen to escape insert mode while I'm in insert mode.
How to reproduce it (as minimally and precisely as possible):
setting.json
Environment:
Note: I'm usingTILcode
for keys I physically press and "quotes" for what comes up on screen. So I press thej
key and the letter "j" comes up on screen.<kbd>[keyboard text]</kbd>
is a thingThe text was updated successfully, but these errors were encountered: