• rustydrd@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Not sure if this is obscure or not: I have F12 bound to cycle through the low- to high-contrast versions of my color scheme so I can keep working when the sun hits my shitty laptop screen.

    • Nefrace@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I use caps for switching languages instead of alt+shift or super+space.

      Very efficient thing when you need to use your native language and some code in one text message or code block.

  • andrew@lemmy.stuart.fun
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’ve mapped jk to escape because it’s rare and it’s separate fingers in home row, so it’s faster than e.g. jj.

      • o11c@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Unfortunately both of those are used in common English or computer words. The only letter pairs not used are: bq, bx, cf, cj, dx, fq, fx, fz, hx, jb, jc, jf, jg, jq, jv, jx, jz, kq, kz, mx, px, qc, qd, qg, qh, qj, qk, ql, qm, qn, qp, qq, qr, qt, qv, qx, qy, qz, sx, tx, vb, vc, vf, vj, vm, vq, vw, vx, wq, wx, xj, zx.

        Personally I have mappings based on <CR>, and press it twice to get a real newline.

        • milicent_bystandr@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I guess I just don’t write “blackjack and hookers” often enough. Sigh, I’ll never make a good Redditor.

          Funny, I’ve never actually had “kj” interrupt me in vim. Maybe once. It’s a funny way of realising I’ve never written certain words in vim!

  • kamen@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Not a Vim user, but no matter what software I’m using, I might think about its keybindings like the first week of getting familiar with it; at one point they become muscle memory and I stop thinking about them.

  • Haus@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    M-x dunnet

    Runs Colossal Cave Adventure in emacs. “YOU ARE STANDING AT THE END OF A ROAD BEFORE A SMALL BRICK BUILDING.”