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.

When I type `jj` to `esc`, will save a `j` character

See original GitHub issue

When I type jj to esc, will save a j character.

v

settings.json

  "vim.insertModeKeyBindings": [
       {
           "before": ["j", "j"],
           "after": ["<esc>"]
       }
    ]
  • VSCode Version: 1.3.1
  • VsCodeVim Version: 0.1.3
  • OS: Mac

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Jiigcommented, Aug 9, 2016

Seeing the same thing as @DoranYun, if I press jj right after entering insert mode the ‘j’ character is left behind, if I do anything in insert mode before pressing jj then it esc’s as expected with no ‘j’ left behind.

Running on Linux, Cent OS 7

0reactions
johnfncommented, Aug 14, 2016

Fixed! Thanks to both of you, @Jiig and @DoranYun, for providing clear reproduction steps. That was a big help. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I prevent the delay when mapping jj to <ESC> in ...
While everything is functional, I find the brief delay after typing j while it waits for a second input very distracting. Is it...
Read more >
Vim Tip: Remapping `jj` to Escape | by Eric Van Johnson
But here's the thing, the Escape key is soooooo far away. Alright, it's not that bad, but when you are typing away, breaking...
Read more >
IntelliJ IdeaVIM autocomplete interferes with jj ESC
I managed to somewhat reproduce the scenario with inoremap jj <Esc>. in ".ideavimrc". In my case, it happens when I type fast enough....
Read more >
Saving Mikey From Slime Prison in Minecraft! - YouTube
Today, Mikey has found himself in a sticky situation...literally! He's been trapped in a Slime Prison! Will JJ be able to save his...
Read more >
Mikey vs JJ - The Most Secure House Battle in Minecraft!
Today, we're going head-to-head in a battle to create the most secure security system! It'll take some quick thinking and smart strategy to ......
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