How to open new buffer without replacing the current one?
- Dominant language
- Vim Script
- Stars
- 5.4k
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
Hi, when I try to open a single file it replaces the current buffer or file that I'm working with, I'm aware of the `batch-mode`. However, I use `startify` for opening a single file while I already have one opened. Is it possible to open a new file in a tab-split or vertical split without replacing the current buffer or file that I'm working with?
For now, what I do is press `v` to `mark/tag` the file I want to open as well as the current file that I'm currently working with so that the current file will not be replaced and the new file will open in a `tab-split` view.
Thanks!
Contributor guide
Research direction
Start by reviewing vim-startify's single-file opening behavior and the existing batch-mode and mark/tag workflows. Determine whether opening a file in a tab or vertical split can be supported without replacing the current buffer; done means the requested split behavior works while preserving the current file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100