VSCodeVim / VSCodeVim/Vim

Command line and search history should be filtered by what you've typed so far

Open
#3,951 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/commandline area/search kind/bug kind/enhancement
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
I discovered this while investigating vim's command line behavior for #3949. If you start typing a command/search, then hit up, you should not see the last command/search you did, but the last one you did that started with what you've already typed. The behavior of <C-p> should not be changed.

To Reproduce
Steps to reproduce the behavior:

  1. Do search: /abc
  2. Do search: /def
  3. Start search: /a, then press up
  4. Notice /def comes up

Expected behavior
/abc should come up.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.9.0
  • VSCode version: 1.36.1
  • OS: Windows 10

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

Start by reproducing the search-history steps in VSCodeVim: enter /abc, then /def, then /a and press Up. Trace the command-line and search-history handling; done means Up returns the most recent entry matching the typed prefix while behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, search
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.