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.

Hi, thank you for this great extension!

Are there anyting for handling jj or jk to get out of insert mode? Or how hard it is to implement?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
71commented, Apr 14, 2021

Since this seems like a popular feature, the next version of Dance will be able to do this natively. The dance.openMenu command now takes a prefix argument, which, if specified, instructs Dance to insert the prefix and the entered key if an item outside of the given menu is selected.

{
  "key": "j",
  "command": "dance.openMenu",
  "args": {
    "menu": {
      "items": {
        "j": {
          "text": "escape to Normal",
          "command": "dance.modes.set.normal",
        },
      },
    },
    "prefix": "j",
  },
  "when": "editorTextFocus && dance.mode == 'insert'"
}
3reactions
71commented, Jun 24, 2021

@sransara This issue is actually https://github.com/71/dance/issues/177#issuecomment-864186296 (tl;dr: "args": { "text": "j" } should be "args": [{ "text": "j" }]). It’s been fixed, but the fix hasn’t been released on the marketplace yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shibuya Incident Arc | Jujutsu Kaisen Wiki | Fandom
As Choso distracts Gojo, Jogo and Hanami take this chance to attack Gojo with their new technique - Domain Amplification. Gojo quickly makes...
Read more >
Outbreak Escape Games - Way to go, team JJJK! You were ...
Way to go, team JJJK! You were Saturday's top escapers with a 56:09 escape!
Read more >
The MPX is Underrated - Escape From Tarkov - YouTube
hope You enjoy :)Follow The Stream - https://www.twitch.tv/antonMy Twitter - https://twitter.com/AntonFromYTSong - Geneburn ...
Read more >
List of Jujutsu Kaisen chapters - Wikipedia
Jujutsu Kaisen is a Japanese manga series written and illustrated by Gege Akutami. ... Gojo brings the battle to a conclusion, but Mahito...
Read more >
世界杯投注软件-九游app下载3424-【✔️推荐so192·com✔️】
世界杯投注软件oud9-【✔️推荐so192·com✔️】-世界杯投注软件-九游app下载3424-【✔️推荐so192·com✔️】-九游app下载-世界杯押注jjjk 0 items. FILTER BY.
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