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

Support switching files without saving changes #55

Open
VisenDev opened this issue Oct 23, 2024 · 5 comments
Open

Support switching files without saving changes #55

VisenDev opened this issue Oct 23, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@VisenDev
Copy link
Contributor

This would stop the Unsaved Changes error from preventing the user from swapping files

@neurocyte
Copy link
Owner

neurocyte commented Oct 23, 2024

I would prefer to add the ability to switch away from a buffer without saving it. And then mark unsaved buffers with a dot in the recent files list. And add a save all command.

This will also preserve undo history when switching away from buffers.

@VisenDev
Copy link
Contributor Author

I would prefere to add the ability to switch away from a buffer without saving it. And then mark unsaved buffers with a dot in the recent files list. And add a save all command.

This will also preserve undo history when switching away from buffers.

Ah, I didn't realize flow had support for multiple buffers. Yes, this would be the equivalent of vim's set hidden setting

@neurocyte neurocyte self-assigned this Oct 24, 2024
@neurocyte neurocyte added the enhancement New feature or request label Oct 24, 2024
@VisenDev
Copy link
Contributor Author

If flow does support multiple buffers, are split windows something that is supported/planned?

@neurocyte
Copy link
Owner

Splits are not supported yet, or actually planned. But many people seem to want them and they're probably not too hard to do, so it's pretty likely that I'll add them.

@neurocyte neurocyte changed the title Setting to autosave current file when swapping to new file Support switching files without saving changes Oct 24, 2024
@Borwe
Copy link

Borwe commented Oct 25, 2024

Is there a way to list current open buffers?

@neurocyte neurocyte modified the milestones: v0.3.0, v0.4.0 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants