GithubHelp home page GithubHelp logo

Comments (4)

stentroad avatar stentroad commented on May 10, 2024 1

@mathiasose As a temporary workaround, you can update the shortcut in assets/js/session/index.js:

  • } else if (keyBuffer.tryMatch(["d", "d"])) {
  • } else if (keyBuffer.tryMatch(["d", "c"])) {
    Then run 'npm run deploy' in the assets folder. I finally did that after accidentally deleting one too many cells :-).

from livebook.

m-dpositiv avatar m-dpositiv commented on May 10, 2024

A recycle bin could be where deleted cells go. And a history interface would be nice. Google Sheets, photoshop, and dropbox all have version history or something similar that also provide a visual undo/redo/restore interface. The key being a restore or undo are new actions that just add to the history (you're not going back, you're overwriting current state with past state as new entry). A clear history could delete to save space or remove the log. Just some thoughts.

from livebook.

mathiasose avatar mathiasose commented on May 10, 2024

IMO this is pretty critical considering you added a keyboard shortcut to delete cells already, and it's vim-inspired. I have lost cells multiple times now because I want to delete a line and hit the vim binding for deleting a line because habit. That would be no big deal if I was able to undo. But as it is right now I can't undo, and I can't seem to disable the shortcut either?

from livebook.

jonatanklosko avatar jonatanklosko commented on May 10, 2024

Ah I can see how muscle memory tricks you into that, interesting point. Thanks for pinging this one, it's something we plan to implement sometime soon.

from livebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.