VSCodeVim / VSCodeVim/Vim

How to press `<C-m>` to command `acceptSelectedSuggestion` in suggest list

Open
#5,497 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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.