• crimsoncobalt@lemmy.world
    link
    fedilink
    arrow-up
    53
    ·
    1 个月前

    Control+C is used to kill a process in the terminal and that shouldn’t be overwritten. If it is, you’d have to create a totally separate key binding to kill a process. Seems unnecessarily complex when Control+Shift+C works just fine.

    • hallettj@leminal.space
      link
      fedilink
      English
      arrow-up
      47
      ·
      1 个月前

      The article doesn’t suggest using Control+C. It talks about dedicated copy and paste key codes, and you can program your keyboard to map those codes to whatever keys you like. They suggest Fn+C.

        • Damage@feddit.it
          link
          fedilink
          arrow-up
          8
          ·
          1 个月前

          Holy shit can you guys read the article please? It’s an existing standard and a dedicated keycode

        • absGeekNZ@lemmy.nz
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 个月前

          I think at this point XKCD should be a TLD.

          I would join lemmy.xkcd in a heartbeat.

      • elmicha@feddit.org
        link
        fedilink
        arrow-up
        5
        ·
        1 个月前

        We could use Ctrl+Insert and Shift+Insert like in the last three decades, but some of these keyboards apparently forgot about the Insert key.

        • markstos@lemmy.worldOP
          link
          fedilink
          arrow-up
          3
          ·
          1 个月前

          I confirmed that these already supported a number of terminals plus QT and GTK. They could also be mapped to be more ergonomic with a programmable keyboard:

          • Control+Insert: Copy
          • Shift+Delete: Cut
          • Shift+Insert: Paste
          • crater2150@feddit.org
            link
            fedilink
            arrow-up
            2
            ·
            1 个月前

            But Shift+insert currently pastes the primary selection, not the copy-paste clipboard. So it doesn’t do the same as Ctrl+V.

            • markstos@lemmy.worldOP
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              1 个月前

              It depends. In Firefox, Chrome and LibreOffice, Shift-Insert pastes the clipboard, not the selection. Viva Linux!

      • furry toaster
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 个月前

        what about shift+insert amd ctrl+insert thats literally already there

          • crater2150@feddit.org
            link
            fedilink
            arrow-up
            1
            ·
            1 个月前

            Well, the article proposes to use dedicated copy and paste keys. If you don’t have an insert key, you probably don’t have those either.

    • markstos@lemmy.worldOP
      link
      fedilink
      arrow-up
      13
      ·
      1 个月前

      Control+C is used to kill a process in the terminal and that shouldn’t be overwritten.

      Agreed. The post didn’t suggest that.

      Seems unnecessarily complex when Control+Shift+C works just fine.

      For people already using programmable keyboards global copy/paste shortcuts are a nice perk.

      I spend nearly all my day in a browser or a terminal and as I use a terminal and browser that already support this, the effect is 99% complete.

    • Overspark@feddit.nl
      link
      fedilink
      arrow-up
      12
      ·
      1 个月前

      Kitty has a setting that makes Ctrl-C copy text, but only if you’ve selected something. If you haven’t it does a regular break. Best of both worlds!

    • randy@lemmy.ca
      link
      fedilink
      arrow-up
      9
      ·
      1 个月前

      I feel like you may have misunderstood the article. It’s talking about how support is increasing for dedicated Copy keys, and that programmable keyboards make it easy to use dedicated Copy keys. The article does not mention changing the behaviour of Ctrl-C.

    • wolfinthewoods@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 个月前

      That’s what I came here to say. What’s the point in making an unnecessarily complex “hack” to circumvent what shift-control-c and v does? I’ve never had a problem with it. And there’s something to be said for not making it super easy to paste text to a terminal, especially from places online…

    • vext01@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      1 个月前

      Sun keyboards had dedicated copy and paste keys.

      Also the illusive “Stop” key that you needed to break into the boot rom.