KDE Social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@piefed.world to Programmer Humor@programming.devEnglish · 6 months ago

Exit Sign

lemmy.ml

message-square
65
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
403

Exit Sign

lemmy.ml

cm0002@piefed.world to Programmer Humor@programming.devEnglish · 6 months ago
message-square
65
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or # to comment.
  • Ganbat@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    21
    ·
    6 months ago

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

    • Transient Punk@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      6 months ago

      git güd

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

      shushejehojwhatiwibaln

      fond memories of this distro

    • drspawndisaster@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

      Why would a text editor use a key like q to quit, obviously quit is <shift> + ZZ

  • thesmokingman@programming.dev
    link
    fedilink
    arrow-up
    18
    ·
    6 months ago

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

    • shirro@aussie.zone
      link
      fedilink
      English
      arrow-up
      17
      ·
      6 months ago

      It is an emergency exit not a normal exit.

      • drspawndisaster@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        7
        ·
        6 months ago

        When I accidentally edit a very important file very incorrectly and don’t know what it looked like before

      • embed_me@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        The real emergency exit will leave swap files

        • vrighter@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          6 months ago

          ctrl+z, kill %1

      • thesmokingman@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

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

    • OddMinus1@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      6 months ago

      It’s advice for how most people end up in vim in the first place. git commit (without -m)

  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    16
    ·
    6 months ago

    how to quit vim

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

      Now it’s just running on battery

  • 2910000@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    6 months ago

    Works as long as you didn’t put something silly in your nvim config like

    vim.keymap.set("ca", "q!", "echo 'not so fast!'")
    
  • marlowe221@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 months ago

    I believe that’s Vim for “Beam us out, Mr. Scott”

  • Speiser0@feddit.org
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    6 months ago

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

    • Warl0k3@lemmy.world
      link
      fedilink
      arrow-up
      20
      ·
      6 months ago

      On US ones as well, I think they just put the relevant key-symbols and excluded the combination press as they can be assumed.

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        I have a custom keyboard with a QMK firmware. I enabled something called auto shift. It’s the best. Just hold down the key you want shifted, and it auto shifts. I settled for enabling this for capital letters and symbols. So comfortable not to have to press the shift key.

        • BassTurd@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          6 months ago

          So you hold down the first letter of each sentence longer so that it capitalizes rather than hold shift? That feels like it would completely mess with my flow when typing. Shift just happens naturally for me and I don’t register I’m pushing it.

          • fmstrat@lemmy.nowsci.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            6 months ago

            Yea, this would be super slow.

          • Victor@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            6 months ago

            Exactly like that, yes. Or 1 for exclamation point, or 2 for @. Just like on a phone keyboard, with tap and hold for symbols and numbers and such.

            I’ve had this keyboard for a few months now and I didn’t enable it exactly for the reasons you mention.

            I enabled it a few weeks ago now just to try it, and wow, I though I didn’t notice myself pressing the shift key, that it “came naturally”. Boy was I wrong. Now whenever I have to use the shift key it feels so cumbersome lol. Typing has become so comfortable now.

            I use a ZSA Voyager for reference.

            • pipe01@programming.dev
              link
              fedilink
              arrow-up
              4
              ·
              6 months ago

              What if you wanna repeat a character?

              • Victor@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                6 months ago

                I spam the key. But that is such an extremely rare case that it’s worth the trade-off. The firmware also does allows you to add a key to toggle auto shifting on and off, so I could just add that if I want, but I don’t see the need.

                If I need to repeat a character many times in a text editor, I’d just use the features of the editor to do so. Helix or Neovim has you covered for repeating characters thousands of times and copying it to the clipboard with a handful of keystrokes if you wish. But what an edge case though.

                For double letters, I just double tap like you would normally when typing. 👍

                • vaionko@sopuli.xyz
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  6 months ago

                  How does it work in games, like holding W?

                • NeatNit@discuss.tchncs.de
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  6 months ago

                  Does this break games? Where in the input pipeline is the long press converted to shift? Being in the firmware implies that it’s in the keyboard itself, so even games wouldn’t be able to see that you’re just holding W to go forwards.

    • Aatube@kbin.melroy.org
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      Here in Tarzania we hold the superior and elusive ! key

    • The Ramen Dutchman@ttrpg.network
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      That’s basically all keyboard layouts.

    • Zagorath@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      Same on Dvorak.

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

    • Something Burger 🍔@jlai.lu
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      Common French W. AZERTY proves itself superior once again.

  • hamsda@feddit.org
    link
    fedilink
    arrow-up
    6
    ·
    6 months ago

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

  • Wiz@midwest.social
    link
    fedilink
    arrow-up
    6
    ·
    6 months ago

    ZZ for the win.

  • axEl7fB5@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 months ago

    [Esc] [Z] [Z]

    • chonglibloodsport@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      6 months ago

      Or just ZZ for me since I’m rarely in insert mode (I just press esc quickly after making an edit out of habit).

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

      ZZTop could not be reached for comment

  • twopi@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 months ago

    Would it be q a ! ?

  • NebLem@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    6 months ago

    You all exit your editor? How you do the rest of your computing?

    /s with ♡ from an Emacs fan.

    • psud@aussie.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      Emacs really is an excellent desktop environment

  • 1984@lemmy.today
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

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

    • grue@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      ctrl-z
      $ killall vim

    • deadbeef79000@lemmy.nz
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Just buy a new computer.

    • swab148@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

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

  • jezcaudle@infosec.pub
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    Where can I buy some of these please?

  • Lembot_0004@discuss.online
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 months ago

    deleted by creator

  • jenesaisquoi@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    Ctrl+] Shift+ZZ

    Amateurs.

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.77K users / day
  • 3.74K users / week
  • 7.89K users / month
  • 17.2K users / 6 months
  • 16 local subscribers
  • 30.3K subscribers
  • 2.16K Posts
  • 80.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org