Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New :remove command #12169

Closed
nik-rev opened this issue Dec 1, 2024 · 1 comment
Closed

New :remove command #12169

nik-rev opened this issue Dec 1, 2024 · 1 comment

Comments

@nik-rev
Copy link
Contributor

nik-rev commented Dec 1, 2024

It's useful to be able to delete the current file. When #11164 is merged you'll be able to do it with :sh rm %{f}.

But when you do that, the current file is still loaded. If you use :reload you'll get an error Can't find file to reload from "file.txt"

What would be nice alternative, is when you run :remove, you are force switched to a different open buffer. If none are open, a scratch buffer is open instead.

@the-mikedavis
Copy link
Member

Duplicate of #4592

@the-mikedavis the-mikedavis marked this as a duplicate of #4592 Dec 2, 2024
@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants