VSCodeVim / VSCodeVim/Vim

`<leader>, t` mapping doesn't always get applied

Open
#3,287 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/remap status/needs-more-info
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug

I'm finding a mapping of <leader>,t is not always being applied.

This is my config:

    {
      "before": ["<leader>", "t"],
      "after": [],
      "commands": [
        "vsCodeTestRunner.testWholeFile"
      ]
    },

And hitting <leader> t sometimes executes the command (I've tried many commands and verified it's not the command.

It seems to work until I edit a file, at which case triggering the mapping does nothing. I've tried changing leader from its default, I've checked for any conflicting keymaps and no luck in figuring out what's going on.

I'm on VSCode 1.3, extension 0.17 and on High Sierra.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the configured , t mapping with the provided commands, first before and then after editing a file. Trace the VSCode Vim key-mapping path involved in applying the configuration; done means the mapping consistently executes its command after edits as well as before them.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.