VSCodeVim / VSCodeVim/Vim

CTRL + P dosn't cycle through suggestions in Linux

Open
#9,054 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
Apparently you are meant to be able to cycle through autocomplete suggestions using ctrl + p and ctrl + n. While ctrl + n works (allows me to cycle down) ctrI + p opens up the VS Code Quick File Open. The feature works on my Mac but no my Linux/Ubuntu box. I see there were previously issues with this but they all appear to be closed now.

To Reproduce

  1. Create new file e.g. index.html - so that VS code can suggest snippets for the file type
  2. Go to insert mode and start typing something that triggers suggestions e.g. "ht"
  3. Pressing ctrl + p triggers Quick File Open (not cycle as expected)

Expected behavior
ctrl + p should cycle up through suggested options

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.27.3
  • VSCode version: 1.89.1
  • OS: Ubuntu 22.04.4

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 on Ubuntu 22.04.4 with VSCodeVim v1.27.3 and VS Code 1.89.1 using the listed autocomplete steps. Trace how Ctrl+P and Ctrl+N are handled during insert-mode suggestions; done means Ctrl+P cycles upward through suggestions without opening Quick File Open, while Ctrl+N still cycles downward.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.