• @EuroNutellaMan
    link
    501 year ago

    If you wanna save changes: :wq

    If not: :q!

    Else: :SpanishInquisition

    • Goku
      link
      61 year ago

      Why do so many people prefer :wq over :x?

      • @rwhitisissle
        link
        71 year ago

        Because :wq to me means “Issue command write, followed by command quit.” “Issue command x” to me means nothing in the context of vim, and ctrl + x on most systems is reserved for cutting, so it just “feels” wrong.

      • @[email protected]
        link
        fedilink
        51 year ago

        :x was a gamechanger. And it doesn’t update the file’s modify date if you made no changes.

        Sometimes I just sit back and think about all that saved time and effort so much that I have actually lost time by switching from :wq.

      • @EuroNutellaMan
        link
        21 year ago

        You have been chosen by the Vim Dommy Mommy. You cannot leave.