VSCodeVim / VSCodeVim/Vim

Re-editing the current file using `:e`

Open
#8,762 1 comment 3 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
The command :e without arguments opens a new tab.

To Reproduce
Steps to reproduce the behavior:

  1. Open any file
  2. From text mode, press Esc and type :e
  3. See a new tab being opened

Expected behavior
:e should re-edit the current file (i.e. refresh the current file if it has been edited externally).

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.27.1
  • VSCode version: v2023.11.10
  • OS: Pop!_OS 22.04 LTS

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 reported sequence in VSCodeVim with :e from text mode and confirm whether a new tab opens instead of re-editing the current file. Search the command handling for :e; done means the current file is re-edited or refreshed without opening a new tab, with the behavior checked against the linked Vim :edit documentation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.