• @errer@lemmy.world
      link
      fedilink
      English
      9810 months ago

      Use ctrl +shift +c to copy in terminal

      Ah yes the classic dangerous command made safe by a modifier key. Put the gun to your head and pull the trigger, just make sure you’re holding down the shift key and it’s all good!

    • @Albbi@lemmy.ca
      link
      fedilink
      15
      edit-2
      10 months ago

      Ctrl+insert to copy and shift+insert also works! It was the DOS way of doing it.

    • TheWoozy
      link
      fedilink
      1110 months ago

      Or just left click to highlight & middle click to paste.

      • @kaba0@programming.dev
        link
        fedilink
        210 months ago

        Or change copy to command+c… I’m gonna be honest, OSX is right here. And quite strangely it is very hard to customize your linux to imitate that.

      • @kaba0@programming.dev
        link
        fedilink
        110 months ago

        Or change copy to command+c… I’m gonna be honest, OSX is right here. And quite strangely it is very hard to customize your linux to imitate that.

    • @Mr_Dr_Oink@lemmy.world
      link
      fedilink
      210 months ago

      This is how my secure crt is set up when im accessing switches. If i use ctrl+c it cancels what im doing and drops back to priv mode and its so frustrating.

        • @30p87@feddit.de
          link
          fedilink
          210 months ago

          To be fair, I would not expect someone using a wayland WM and urxvt to use the mouse to copy-paste.

          • Jean-Mich Much
            link
            fedilink
            210 months ago

            I understand. I’m not using sway and urxvt as someone more skilled would do. I’ve Made this config some years ago to try but nowadays I’m not doing computer things anymore but I’ve kept this config because it’s light, fast and it’s simply working. So basically, today I’m just copying my passwords from pass in urxvt to my webmail in Firefox with my mouse for checking mail …

    • @Trobador@lemmy.world
      link
      fedilink
      010 months ago

      I never realized that was why people used the primaey clipboard on Linux…

      But I’ll be frank : fuck that. I’d rather disable it entirely and stop having to deal with random text pasting in bad places when I’m using the touchpad

  • kamen
    link
    fedilink
    28
    edit-2
    10 months ago

    I’ve almost gotten into the habit of hitting Ctrl+Shift+C when I want to copy something because of that.

    • @rinze
      link
      910 months ago

      Yes. And on Microsoft Teams that triggers a chat call.

    • @phoenixz@lemmy.ca
      link
      fedilink
      310 months ago

      That solution ish the worst. Ctrl-shift-c does a shitload of different things in different programs, and in browsers it does different things per page.

      Ctrl-ins, shift-ins, shift-del for the win bit THEN some programs simply refuse to support that.

      I have like 4 different copy paste short cuts because of this and it sucks

      • kamen
        link
        fedilink
        210 months ago

        I’m not saying it’s great, but at least in my use I haven’t seen it being destructive/disruptive like Ctrl+C is.

      • @millie@lemmy.film
        link
        fedilink
        English
        110 months ago

        Do you at least have 4 clipboards to go with them? Because I don’t think I could ever go back to a single clipboard.

        • @phoenixz@lemmy.ca
          link
          fedilink
          110 months ago

          I use standard Linux dual clipboard (Ctrl ins and just select, middle click) but most extra clipboards I’ve seen require a lot of extra clicking to get the work done. I want something simple stupid fast.

          • @millie@lemmy.film
            link
            fedilink
            English
            110 months ago

            I’m running windows for my daily, but I’ve got Ditto and it works great. I have like 3 clipboards set up, could set up more. It just needs a different hotkey combination. It’s really simple.

    • Doug [he/him]
      link
      fedilink
      English
      710 months ago

      That sounds a lot like

      My rear passenger tire was about 3psi low so I bought a new Grand Cherokee

    • jungle
      link
      fedilink
      5
      edit-2
      10 months ago

      Yeah, I was looking at this wondering why anyone would stop a program just to copy a line, and then I remembered that not everyone uses a Mac.

  • @yokonzo@lemmy.world
    link
    fedilink
    510 months ago

    I literally just learned about Ctrl+c last week, I’ve been using terminal casually since I was 10, and always thought it was dumb that when a script was stuck hanging that I had to close the command window and redo my steps. I always thought it was weird that you had to right click to copy something and never thought why that might be the case, I have no excuses.

    • @bellsDoSing@lemm.ee
      link
      fedilink
      210 months ago

      I additionally mapped that latter one to F2, because being able to repeatedly copy from VIM and paste into another application without having to move your hand between mouse and keyboard is nice.

      Of course, that’s VIM. If you meant “vim mode” in shell, then that’s a different story.