My Lemmy Instance
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@piefed.world to Programmer Humor@programming.devEnglish · 1 day ago

Exit Sign

lemmy.ml

message-square
64
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
811

Exit Sign

lemmy.ml

cm0002@piefed.world to Programmer Humor@programming.devEnglish · 1 day ago
message-square
64
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • TragicNotCute@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    ·
    1 day ago

    I’m pretty sure that’s close without saving changes. :wq would be needed to save.

    • Aatube@kbin.melroy.org
      link
      fedilink
      arrow-up
      18
      ·
      1 day ago

      To be precise, : means bring up commands, w means save, q means exit, and ! means force

      • HeuristicAlgorithm9@feddit.uk
        link
        fedilink
        arrow-up
        13
        ·
        24 hours ago

        I think it’s w = write and q = quit so the letters make more sense

        • glitches_brew@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          24 hours ago

          Also :x is the same as :wq

          • darklamer@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            12
            ·
            21 hours ago

            No, it isn’t, x writes only when changes have been made, while w writes unconditionally.

            • glitches_brew@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              21 hours ago

              TIL. Ty!

            • josefo@leminal.space
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              16 hours ago

              Why would you want to write again if no changes were made? It’s some obtuse behavior

              • darklamer@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                5
                ·
                16 hours ago

                One obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.

      • ryper@lemmy.ca
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        20 hours ago

        To be more precise, q means quit the current window. If you’ve split the window, e.g. with :split or :vsplit, use :qa to quit all windows.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.29K users / day
  • 4.65K users / week
  • 8.14K users / month
  • 19.8K users / 6 months
  • 1 local subscriber
  • 26.5K subscribers
  • 1.58K Posts
  • 51.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.4
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org