question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vim.insertModeKeyBinding not working for Combinatorial key (Ctrl-?)

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘user-settings’
  2. config
  "vim.insertModeKeyBindingsNonRecursive": [
    {
      "before": ["<C-j>"],
      "after": ["m", "m"]
    }
  ],
  1. press <C-j> but nothing happend

Expected behavior input characters: “mm”

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 0.15.0
  • VSCode version:1.25.1
  • OS: 4.17.5-1-ARCH

Additional context Add any other context about the problem here.

  1. Last version is ok.
  2. Other key(not Ctrl) is ok.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
xconvergecommented, Jul 16, 2018

We don’t remap this ctrl+ combination <C-j> most likely. Can you use native vscode bindings to do what you want to do? Something like this

{ “key”: “ctrl+j”, “command”: “xxxxxxx”, “when”: “editorTextFocus && vim.active && vim.mode == ‘Insert’ && !inDebugRepl” }

1reaction
expelledboycommented, Jul 16, 2018

I am new the project, was just in the back of my mind when I read your issue 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vim for VSCode: Remap ctrl + e to go to end of line in insert ...
I've tried multiple variations to no avail, and any other key combination seems to work flawlessly, see this for example: "vim.
Read more >
Ctrl keybindings not working in wsltty
In order for a mapping to work, Vim has to recognise the keycodes that your terminal is sending. To find out what your...
Read more >
vscodevim normal mode key binding toggle terminal
... vscodevim and I've been trying to remap the Ctrl+` command to toggle the terminal in normal mode, but it doesn't seem to...
Read more >
vscodevim-sneak-fork - Visual Studio Marketplace
Enable Vim ctrl keys overriding common VS Code operations such as copy, paste, find, etc. Boolean, true. vim.visualstar, In visual mode, start a ......
Read more >
package.json · Blleem/Vscodevim - Gitee.com
"description": "Non-recursive remapped keys in normal mode. Allows mapping to vim commands or vscode actions. See README for more.".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found