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

cannot bind "ctrl+l" to "<Esc>" #925

Closed
andysalerno opened this issue Oct 15, 2016 · 1 comment
Closed

cannot bind "ctrl+l" to "<Esc>" #925

andysalerno opened this issue Oct 15, 2016 · 1 comment

Comments

@andysalerno
Copy link

Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.


What did you do?

I enabled "vim.useCtrlKeys": true

I mapped "ctrl+l" (that's a lowercase "L") to "", because that's a binding I like. Using this:

    "vim.insertModeKeyBindings": [
        {
            "before": ["ctrl+l"],
            "after": ["<Esc>"]
        }
    ]

I have done this SAME EXACT binding, but with "ctrl+[" and "ctrl+c" instead of "ctrl+l", and those bindings DO work. I looked in the VS Code built-in key bindings and ctrl+l is not a reserved binding. I have previously come from other vim extensions for VS Code and they have been able to bind ctrl+l for me.

What did you expect to happen?

The binding to work.

What happened instead?

The binding doesn't work.

Technical details:

  • VSCode Version: 1.6.1
  • VsCodeVim Version: 0.3.7
  • OS: OS X 10.11.6
@rebornix
Copy link
Member

Realize it's a dup of #757 and we've put more info there, let's track it in that issue.

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