*redo, sorry

  • lolcabanon@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Am I the only one who only knew ctrl+y? I’ve been used to it since forever and never used ctrl+shift+z even tough I am a keyboard shorcut fanboy…

    edit: also the logic behind ctrl+shift+z totally makes sense, i’ll try it everywhere now lol

    • Synthead@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Don’t forget that Vim also keeps every tree of undo history. Wrote someone one way, wanted to try another way, and changed your mind? Switch to the other undo future! Change your mind again? Go back!

      And there’s persistent undo, where your undo history is written a file. Quit Vim, power off your machine for 5 years, power it back on, and you can still undo!