Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Is it possible to recover lost work after a crash? #4215

Closed
sqwxl opened this issue Oct 11, 2022 · 1 comment
Closed

Is it possible to recover lost work after a crash? #4215

sqwxl opened this issue Oct 11, 2022 · 1 comment

Comments

@sqwxl
Copy link

sqwxl commented Oct 11, 2022

thread 'main' panicked at 'Position 3824 is out of range for changeset len 3571!', helix-core/src/transaction.rs:397:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This happened and and upon re-opening the file I was working on, all my latest changes were gone (I forgot to save). With vim/neovim I am used to the program keeping a swapfile around for these types of scenarios, but there doesn't seem to be the same functionality in helix. Is there any way I can recuperate my work, or is it irretrievable?

Concerning the error itself, I wish I could give steps on how to reproduce it, but unfortunately it was caused by a typo while I was inputting a motion and I don't know what I typed...

@Omnikar
Copy link
Contributor

Omnikar commented Oct 11, 2022

See #290

@helix-editor helix-editor locked and limited conversation to collaborators Oct 11, 2022
@the-mikedavis the-mikedavis converted this issue into discussion #4217 Oct 11, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants