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

Losing unnamed buffers on crash #2

Open
tmillr opened this issue Jan 10, 2023 · 0 comments
Open

Losing unnamed buffers on crash #2

tmillr opened this issue Jan 10, 2023 · 0 comments
Labels
🔬 needs investigation Unsure what's causing it priority: low Can be put-off until later

Comments

@tmillr
Copy link
Owner

tmillr commented Jan 10, 2023

Eg device crashes or runs out of battery while unnamed buffers were open in vim that you wanted preserved?

Potential Fixes

  • Use/enable vim swapfiles, but only for unnamed buffers (as swapfiles in general are annoying)
  • Custom swapfile implementation
  • Call :mksession automatically (eg on timer and/or only under certain conditions)
  • Emit reminder/notification to user telling them to to name/save unnamed buffers or convert them to scratch buffers
@tmillr tmillr added 🔬 needs investigation Unsure what's causing it priority: low Can be put-off until later labels May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔬 needs investigation Unsure what's causing it priority: low Can be put-off until later
Projects
None yet
Development

No branches or pull requests

1 participant