Map ctrl+e/n/s inside init.lua? #1947
Unanswered
Nikola-Milovic
asked this question in
Q&A
Replies: 2 comments 6 replies
-
Add this to the "keybindings.json": [
{
"key": "ctrl+e",
"command": "vscode-neovim.send",
"args": "<C-e>",
"when": "editorTextFocus && neovim.init"
}
] https://github.com/vscode-neovim/vscode-neovim#add-keybindings "composite keys" are only for needs such as: imap jj <esc>
imap jk <esc> |
Beta Was this translation helpful? Give feedback.
5 replies
-
I mainly want to know if you use this keybinding when focusing on the text editor. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried mapping
<c-e
in neovim but that just doesnt work, unable to get it to trigger, so I am guessing these keys arent sent to neovim but I have no idea why.So I decided to try and set a keybinding via composite keys
Which gives me the below error
Invalid composite key: <c-e>. Composite key must be exactly 2 ASCII characters long.
.Preferably I'd somehow do these inside neovim
init.lua
I deleted everything non-vscode neovim related from keybindings
Beta Was this translation helpful? Give feedback.
All reactions