VSCodeVim / VSCodeVim/Vim

Tab completion only accepting in "insert" mode when using Vim extension

Open
#9,546 0 comments 11 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

Type: Bug

When editing a file where tab completions are available, the completion suggestions appear correctly in both Insert and Normal Vim modes. However, pressing Tab to apply the selected completion only works in Insert mode. In Normal mode, pressing Tab does not apply the completion.

Current Workaround:

When in Normal mode, the user must first press "i" to enter Insert mode, then press Tab.

Expected Behavior:

Tab completion should work seamlessly in both Normal and Insert modes, like previously.

Extension version: 1.29.0
VS Code version: Code - Insiders 1.99.0-insider (Universal) (88c05937becd43f3bc9457b65f2185e4cdaeae6e, 2025-03-27T23:30:01.317Z)
OS version: Darwin arm64 24.3.0
Modes:

System Info
Item Value
CPUs Apple M2 Pro (12 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 5, 5, 5
Memory (System) 32.00GB (0.07GB free)
Process Argv --crash-reporter-id 192a38a4-81e2-452b-b966-94b16c50d8f3
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249597
vscod805cf:30301675
py29gd2263:31024238
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
dwnewjupyter:31046869
nativerepl1:31134653
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
iacca1:31150324
dwcopilot:31158714
c3hdf307:31184662
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
f27dg485:31264363
g012b348:31231168
jda6j935:31233686
copilothoveron:31262361
pythoneinst12:31251391
bgtreat:31252123
fh1c7952:31247580
31787653:31262186
3e8i5726:31271747
pythonpulldiag:31258010
6gi0g917:31259950
61ibe868:31268330
996jf627:31264550
pythonrdcb7:31268811
gh9da704:31272286

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 with VS Code Insiders 1.99.0 and Vim extension 1.29.0 by opening a file with available completions and testing Tab in Insert and Normal modes. Trace the extension's completion and Tab key handling; done when the selected completion applies in both modes without switching to Insert mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.