• psud@aussie.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    22 hours ago

    ESC

    Surely you’re editing right before exiting, why else would you be saving?

    • lime!@feddit.nu
      link
      fedilink
      arrow-up
      1
      ·
      21 hours ago

      not necessarily. you could also have done a yank-paste, or a repeated action, or had a command output into the buffer.

      it’s a good habit to always leave the editor in normal mode between actions, because that makes for a cleaner edit history with smaller changesets in the undo tree.

      …vim is sort of like driving stick in that way.

      • psud@aussie.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 hours ago

        Yeah, having used both, my preference is for Emacs, which also comes with the bonus of menu driven ways of doing most things when you’ve been away long enough to have forgotten a keyboard shortcut. I have always needed a cheat sheet handy when away from vim for a few months

        • lime!@feddit.nu
          link
          fedilink
          arrow-up
          1
          ·
          12 hours ago

          i’ve moved to helix, partly to stop myself tinkering and partly because the reversed command model is just easier. plus it has popup helpers.