Open/create new file with `:w file.txt` or `:vs file.txt` etc
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
I'd like to be able to open/create a new file by typing
:vs newfile.txt
Save a file like:
:w file.txt
Describe the solution you'd like
:w ./file.txt saves a new file called file.txt or open a buffer with the likes of vs ./file.txt.
Describe alternatives you've considered
No alternative considered as it is a core vim feature.
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
No files, tests, or entry points are named. Start by locating the command handlers for :w and :vs in the VSCodeVim/Vim repository, then trace how they currently process file arguments. Done means :w ./file.txt saves to that path and :vs ./file.txt opens or creates the requested 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
- 42/100