• CeeBee@lemmy.world
    link
    fedilink
    arrow-up
    38
    arrow-down
    4
    ·
    1 year ago

    It’s pretty simple:

    • Spam the escape key a bit
    • Then do shift + ;
    • when you’re in command mode, do the following
    • q! to forcibly quit
    • wq! to forcibly write your changes and quit

    Simple!-ish

    • p_consti@feddit.de
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      Not to be pedantic, but it’s not shift+; it’s :, which may be somewhere else depending on your keyboard. For example on (german?) Quertz that’s shift+.

      • CeeBee@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        This is true, but since I already used “:” to indicate an upcoming list, I wanted to be deliberately clear that I was referring to the key, and not suggesting another list.