Re-editing the current file using `:e`
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:
- Open any file
- From text mode, press
Escand type:e - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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