Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ytrav@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago

It always gets me

lemmy.world

message-square
41
link
fedilink
351

It always gets me

lemmy.world

ytrav@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago
message-square
41
link
fedilink
alert-triangle
You must log in or register to comment.
  • victron@programming.dev
    link
    fedilink
    English
    arrow-up
    88
    ·
    2 years ago

    All my homies just CTRL+Z

    • RampageDon@lemmy.world
      link
      fedilink
      arrow-up
      22
      ·
      2 years ago

      Right, this meme just undo but with extra steps

      • qaz@lemmy.world
        link
        fedilink
        English
        arrow-up
        22
        ·
        2 years ago

        They probably mean redo, because that is what CTRL + SHIFT + Z and CTRL + Y commonly do.

        • SatyrSack@lemmy.one
          link
          fedilink
          arrow-up
          5
          ·
          2 years ago

          They tried to CTRL+SHIFT+Z to undo that last word, but that key combo was actually set to export the photo

  • rtorlas@lemmy.world
    link
    fedilink
    arrow-up
    51
    ·
    2 years ago

    u for undo. vi forever!

    • Synthead@lemmy.ml
      link
      fedilink
      arrow-up
      18
      ·
      2 years ago

      Don’t forget that Vim also keeps every tree of undo history. Wrote someone one way, wanted to try another way, and changed your mind? Switch to the other undo future! Change your mind again? Go back!

      And there’s persistent undo, where your undo history is written a file. Quit Vim, power off your machine for 5 years, power it back on, and you can still undo!

  • mister_monster@monero.townBanned
    link
    fedilink
    English
    arrow-up
    31
    ·
    2 years ago

    My text editor uses u and U

    • lrabbt@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      Helix?

      • ChickenAndRice@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        vim

        • philm@programming.dev
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          2 years ago

          Hmm pretty sure, it’s not vim, as that would be u and C-r

          • sip@programming.dev
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            idk my vim uses u U in visual.

      • mister_monster@monero.townBanned
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        You know it.

  • 6xpipe_@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

    “What did that code look like two minutes ago?”

    • Cmd+A
    • Cmd+C
    • Cmd+ZZZZZZZZZZZZZZZZZZZZZZ

    “Oh, ok.”

    • Cmd+Shift+ZZZZZZZZZZZZZZZZZZZZZZ
    • ytrav@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      why is this so true,

    • janAkali@lemmy.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 years ago

      lol, just use time travel, Vim time travel:
      :earlier 2m
      and back:
      :later 2m

      • nogrub@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        wait that seems really usefull is that in standart vim ?

        • janAkali@lemmy.one
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 years ago

          Yes, plain vanilla Vim
          Here’s help entry (see section 4 if link doesn’t redirect to it).
          And it is even more useful with an undo-tree plugin.

          • nogrub@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            oh thank you good sir ^^

  • linuxgator@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    2 years ago

    More like Ctrl-WHYYYY?

  • EmasXP@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    Ctrl + Y shall paste, and nothing else!

    • Diabolo96@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      32
      ·
      2 years ago

      Ctrl-c copy. Ctrl-v past.

      • Pretty Sure Not a Bot@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        2 years ago

        And Ctrl-y is redo.

        • redcalcium@lemmy.institute
          link
          fedilink
          arrow-up
          9
          ·
          edit-2
          2 years ago

          I prefer ctrl+shift+z for redo. The advantage is you can spam both undo and redo without moving your finger from Ctrl and Z buttons. Very common in professional apps.

          • Squids@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            Also in art apps, because it’s not uncommon to want to undo and redo the same action over and over to see the difference something makes

            …except gimp and krita. Seriously get your damn act together youse two

        • Diabolo96@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          2 years ago

          And Ctrl-z undo.

          That’s all i know. If anyone know more please share.

          • MagicShel@programming.dev
            link
            fedilink
            arrow-up
            7
            ·
            2 years ago

            Ctrl-Deez nutz

            • Diabolo96@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              4
              ·
              2 years ago

              Strange, It open the magnifier.

      • BorgDrone@lemmy.one
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        y to yank p to paste d to cut

      • nogrub@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        deleted by creator

    • psilocybin@discuss.tchncs.de
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      Yank it

      • Synthead@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Into shape

    • Skipcast@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 years ago

      Found the qwertz user

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    2 years ago

    Shouldn’t it be used for redo?

    I mean, yeah, of course it should be paste. But if you decide to break the established convention, isn’t the next option redo, instead of undo?

    • beta_tester@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      deleted by creator

  • BoofStroke@lemm.ee
    link
    fedilink
    arrow-up
    10
    ·
    2 years ago

    :u

    • Synthead@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      Or just: u

    • Hazzia@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      deleted by creator

  • nicoweio@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    2 years ago

    Germans on English kezboards know the struggle

    • Dogeek@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I see what you did there.

  • lolcabanon@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    2 years ago

    Am I the only one who only knew ctrl+y? I’ve been used to it since forever and never used ctrl+shift+z even tough I am a keyboard shorcut fanboy…

    edit: also the logic behind ctrl+shift+z totally makes sense, i’ll try it everywhere now lol

  • darcy@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    vim using u and ``

  • PBSkidz4Lyfe@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    Similar to how vscode uses Ctrl+shift+arrows for multi line editing but for some reason on my person computer that is hot keyed to flip the screen upside down.

  • Joosl@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    Windows Explorer…

  • Doc Avid Mornington@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    C-/ for undo. C-/ for redo. All you need.

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.

  • 198 users / day
  • 3.48K users / week
  • 8.2K users / month
  • 18.2K users / 6 months
  • 480 local subscribers
  • 24.7K subscribers
  • 1.49K Posts
  • 47.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org