VSCodeVim / VSCodeVim/Vim

Remap easymotion's default trigger key unsuccessfully

Open
#8,528 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
I remap easymotion's default trigger key but it doesn't work.

To Reproduce
As shown as below, I put it in .vscode/settings.json and restart vscode.

    "vim.leader": ",",
    "vim.easymotion": true,
    "vim.normalModeKeyBindingsNonRecursive": [
        {
        "before": ["leader", "s"],
        "after": ["leader", "leader", "s"]
        }
    ]

Expected behavior
After pressing ,s and any single character in editor, it should show a list of target jump points.

image

Screenshots
I don't know how to interpret it.

image

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.25.2
  • VSCode version: 1.81.0
  • OS: macOS 13.4.1 (22F82)

Additional context
NA

Thanks

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

Reproduce the issue in VS Code using the shown .vscode/settings.json keybindings and the reported easymotion configuration. Trace the handling of the before and after sequences for ,s, then verify that pressing ,s followed by a character displays the expected jump targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.