VSCodeVim / VSCodeVim/Vim

In normal mode mapping ctrl works but cmd does not?

Open
#6,320 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

How do I map cmd on mac? In the docs I see lots of examples for ctrl as <c-j>

Ctrl, works though when I do this:

 "vim.normalModeKeyBindingsNonRecursive": [
{ "before": ["c-j"], "commands": [ "scrollLineDown" ] },
],

I have tried this and it does not work:

 "vim.normalModeKeyBindingsNonRecursive": [
{ "before": ["cmd-j"], "commands": [ "scrollLineDown" ] },
],

Thanks for everyone's contributions on this project.

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 with the documented normalModeKeyBindingsNonRecursive examples and the corresponding cmd-j configuration entry point. Confirm how Command mappings are handled in VSCodeVim on macOS, then update the documentation so the supported syntax and expected behavior are explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.