How do I assign a mapping to VSCode commands
Open
Nobody has claimed this yet.
area/remap
kind/question
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
This is not a bug or request and I didn't know where to put it. I tried to search for the issue but couldn't find anything (perhaps I was using the incorrect keywords).
For example, I would like to map <leader>m to editor.action.goToTypeDefinition. How would I go about doing that?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue's example of mapping m to editor.action.goToTypeDefinition and determine whether VSCodeVim or VS Code configuration handles it. Document the supported steps and verify that the mapping invokes the requested command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100