How to press `<C-m>` to command `acceptSelectedSuggestion` in suggest list
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
when i am writing in insert mode,"Ctrl+m" like a enter.
But when "editor.action.triggerSuggest" is on , i press "Ctrl+m", the operation is that escape the suggest list and insert a new line.
I want to press "Ctrl+m" to command "acceptSelectedSuggestion",like in ideavim or vim.
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
Reproduce the interaction in VS Code with editor.action.triggerSuggest active, then investigate how the extension handles Ctrl+m and the acceptSelectedSuggestion command in the suggest list. Done means Ctrl+m accepts the selected suggestion rather than escaping the list and inserting a new line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100