VSCodeVim / VSCodeVim/Vim

Command mode (i.e. :command) is only available when a certain file is opened

Open
#7,059 0 comments 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

Today I tried opening a new file with the command :e filename, but I couldn't access the : commands because there was no file opened.

Describe the solution you'd like
I'd like to the access some : commands even if no file/buffer is opened. The workaround is to open any file and then run the : commands, but that costs some glucose.

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 tracing how VSCodeVim handles the :e filename command and how command mode is gated when no file or buffer is open. Confirm the expected behavior for an empty editor, then verify that the relevant : commands work without first opening another file.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.