joouha / euporie

Jupyter notebooks in the terminal
https://euporie.readthedocs.io
MIT License
1.54k stars 36 forks source link

Recover deleted cells #22

Closed Minyus closed 1 year ago

Minyus commented 2 years ago

Thank you for this awesome tool! I love the Vim-like keybindings of Euporie.

While using Euporie, I sometimes mistakenly delete cells, but could not find a way to recover.

It would be great if Euporie has "Undo Delete Cells" feature similar to Jupyter.

Alternatively, it would be also helpful to have an option to back up the deleted cells in the tmp directory (e.g. /tmp/euporie_deleted_cell_2022-12-30T23:59:59.py) so that users can recover later.

joouha commented 2 years ago

Hello,

I'm glad you like euporie!

This has been on my to-do list for a while - I should be able to work on it in the next week week or two.

Minyus commented 2 years ago

Thank you! I look forward to it.

joouha commented 1 year ago

This is now implemented in v2.0.0. You can press z to un-delete a cell.

Minyus commented 1 year ago

Worked in v2.0.1! Thanks @joouha !