• dukk
        link
        fedilink
        arrow-up
        6
        ·
        1 年前

        Personally prefer :xprobably because it’s a little more ergonomic, as Z is all the way in the corner (QWERTY), and is the same key twice, while : and x are in two different spots, and can therefore be hit faster.

        I know, it’s like millisecond differences, but, hey, I’m a vim user.

    • The Stoned Hacker@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 年前

      :x will save and exit. The difference between :x and :wq is that the latter will always write to the buffer, while the former will only do so if theres a change.