Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
cm0002 ( cm0002@piefed.world )  to Programmer Humor@programming.devEnglish · 1 year ago

Exit Sign

lemmy.ml

message-square
39
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
499

Exit Sign

lemmy.ml

cm0002 ( cm0002@piefed.world )  to Programmer Humor@programming.devEnglish · 1 year ago
message-square
39
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or # to comment.
  • Speiser0 ( Speiser0@feddit.org ) 
    link
    fedilink
    arrow-up
    23
    ·
    1 year ago

    On german QWERTZ keyboards, you need to use shift to make : and !.

    • Aatube ( Aatube@kbin.melroy.org ) 
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      Here in Tarzania we hold the superior and elusive ! key

    • Zagorath ( Zagorath@aussie.zone ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Same on Dvorak.

      Though the custom coder’s Dvorak I use while programming has a dedicated ! key. Shift still needed for : though.

    • Lena ( lena@gregtech.eu ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Slovenian ones too

    • Something Burger 🍔 ( SomethingBurger@jlai.lu ) 
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Common French W. AZERTY proves itself superior once again.

    • The Ramen Dutchman ( lord_ryvan@ttrpg.network ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      That’s basically all keyboard layouts.

  • Ganbat ( Ganbat@lemmy.dbzer0.com ) 
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 year ago

    vim something.log
    esc
    quit
    exit
    ctrl+x
    ctrl+q
    shushejehojwhatiwibaln):gufht;vfgs+_&f
    reboot
    nano something.log

    • tetris11 ( tetris11@feddit.uk ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      shushejehojwhatiwibaln

      fond memories of this distro

  • hamsda ( hamsda@feddit.org ) 
    link
    fedilink
    arrow-up
    18
    ·
    1 year ago

    Thank you very much. I sent this to my coworker who expressed interest in switching to vim :)

  • thagoat ( thagoat@lemmy.sdf.org ) 
    link
    fedilink
    arrow-up
    17
    ·
    1 year ago

    5 key presses to save and exit. Frickin vim.

    • lime! ( lime@feddit.nu ) 
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      four. the ! is unnecessary. how many actions are there to save and quit in other editors? ctrl, s, ctrl, w is four. move to file, click, move to save, click, move to ×, click is six.

      and that’s before we replace the wq with x.

      • psud ( psud@aussie.zone ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        If we count the modifier keys:

        Vim: esc, shift+:, w, q, Enter

        Emacs: ctrl-s, crtl+x ctrl+c, or use the menu options

        I use both, but find Emacs much quicker, though vim is easier to learn, though Emacs is easier while you’re learning

        • lime! ( lime@feddit.nu ) 
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          i’ve never had the time to get into emacs, would love to though.

          also, some layouts have the : on its own key, and if you include the esc in vim commands you’re not using vim correctly :)

          • psud ( psud@aussie.zone ) 
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            ESC

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

            • lime! ( lime@feddit.nu ) 
              link
              fedilink
              arrow-up
              1
              ·
              1 year 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 ( psud@aussie.zone ) 
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year 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! ( lime@feddit.nu ) 
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year 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.

    • NeatNit ( NeatNit@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Depends how you count. Both : and ! require shift as well.

    • MadMadBunny ( MadMadBunny@lemmy.ca ) 
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Fuck it I’m pulling the power cord

    • Wiz ( Wiz@midwest.social ) 
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You can use ZZ as a shortcut!

  • Lembot_0004 ( Lembot_0004@discuss.online ) 
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    1 year ago

    deleted by creator

  • thesmokingman ( thesmokingman@programming.dev ) 
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    We’re just quitting without writing? Living very dangerously aren’t we?

    • shirro ( shirro@aussie.zone ) 
      link
      fedilink
      English
      arrow-up
      18
      ·
      1 year ago

      It is an emergency exit not a normal exit.

      • embed_me ( embed_me@programming.dev ) 
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        The real emergency exit will leave swap files

        • vrighter ( vrighter@discuss.tchncs.de ) 
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          ctrl+z, kill %1

      • thesmokingman ( thesmokingman@programming.dev ) 
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        My initial take on the sticker was the whole “fire exit git commit git push;” I do see this other perspective now

  • katy ✨ ( cupcakezealot@piefed.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    how to quit vim

    1. pull computer cord out of wall
    • SkaveRat ( SkaveRat@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Now it’s just running on battery

  • axEl7fB5 ( axEl7fB5@lemmy.cafe ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    [Esc] [Z] [Z]

    • tetris11 ( tetris11@feddit.uk ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      ZZTop could not be reached for comment

  • Wiz ( Wiz@midwest.social ) 
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    ZZ for the win.

  • darkreader2636 ( darkreader2636@lemmy.zip ) 
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    yet here in trq i need to press shift in %80 of the keys (that’s why i use micro)

    • somerandomperson ( somerandomperson@lemmy.dbzer0.com ) 
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      the annoying thing about trq is that us is the default everywhere, so you can’t press [İ] to type “i”, it’ll type a " ’ " instead >:(

      similar things for “:” and “-”

  • twopi ( twopi@lemmy.ca ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Would it be q a ! ?

  • jezcaudle ( jezcaudle@infosec.pub ) 
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Where can I buy some of these please?

  • MonkderVierte ( MonkderVierte@lemmy.zip ) 
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    deleted by creator

  • Gamma ( GammaGames@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    deleted by creator

  • 1984 ( 1984@lemmy.today ) 
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Or just ctrl-z to get out of it and “fg” to get back. :)

    • swab148 ( swab148@lemmy.dbzer0.com ) 
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Just alt+F4, you didn’t need to edit that file anyways

    • deadbeef79000 ( deadbeef79000@lemmy.nz ) 
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Just buy a new computer.

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 1.03K users / day
  • 2.37K users / week
  • 3.67K users / month
  • 7.54K users / 6 months
  • 463 local subscribers
  • 33.6K subscribers
  • 1.55K Posts
  • 25.4K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code