• @errer
      link
      English
      1061 year 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!

    • TheWoozy
      link
      121 year ago

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

      • @[email protected]
        link
        fedilink
        21 year 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.

      • @[email protected]
        link
        fedilink
        11 year 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
      link
      31 year 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.

    • @SuperIce
      link
      English
      21 year ago

      Or just highlight the text and use middle click to paste

  • @confusedbytheBasics
    link
    English
    611 year ago

    Select text to copy. Middle click to paste.

    Don’t use Ctrl…

  • @[email protected]
    link
    fedilink
    351 year ago

    It didn’t load completely at first, so i saw something like this and i think it is even better that way:

  • kamen
    link
    33
    edit-2
    1 year ago

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

    • @vpklotar
      link
      201 year ago

      I do that all the time. Opens up developer tools on firefox if you do it.

    • Phoenixz
      link
      fedilink
      31 year 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
        21 year 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.

        • Phoenixz
          link
          fedilink
          11 year ago

          Ctrl-c for copying is a windows thing and it’s annoying.

      • @[email protected]
        link
        fedilink
        English
        11 year 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
          link
          fedilink
          11 year 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.

          • @[email protected]
            link
            fedilink
            English
            11 year 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.

  • spez
    link
    fedilink
    English
    221 year ago

    Kitty has the feature that if you have text selected it will copy and if not then it will interrupt the command

    • lappy
      link
      fedilink
      131 year ago

      Yeah I love this feature. I love it so much that I’ll also tell everyone who cares to listen how you can use it. Edit your ~/.config/kitty/kitty.conf file to include map ctrl+c copy_and_clear_or_interrupt and you are good to go. Only issue I have that it doesn’t seem to work in the vscode terminal.

      • spez
        link
        fedilink
        English
        11 year ago

        Any keybinds I have set don’t work in vscodium terminal for me too. I mainly use neovim for those things.

    • @[email protected]
      link
      fedilink
      English
      61 year ago

      Oh what a great way to further entrench a bad habbit! Hang on I need to remedy some refactored code with rm -rf * which Kitty made safe if I’m in a directory with my project files 🙄

    • Doug [he/him]
      link
      fedilink
      English
      61 year ago

      That sounds a lot like

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

    • jungle
      link
      5
      edit-2
      1 year 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.

    • notsharp
      link
      31 year ago

      Modern problems require costly solutions.

  • metarmask
    link
    fedilink
    71 year ago

    I’ve changed this on all my terminals and I’m not ashamed of it.

    • AGuyAcrossTheInternet
      link
      fedilink
      331 year ago

      True strength is bending the machine to appease your habits, not to bend your habits to appease the machine.

      • @Storyteller
        link
        English
        101 year ago

        No. The flesh is weak. The machine is immortal.

        Flesh is fallible but ritual honours the machine spirit.

        All hail the Omnissiah.

  • @yokonzo
    link
    71 year 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.

    • @[email protected]
      link
      fedilink
      21 year 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.

  • darcy
    link
    fedilink
    -51 year ago

    press enter and then immediately CTRL+C to stop, then anytime u need u can press UP to go back to where you were

    • El Barto
      link
      101 year ago

      You missed the point of the meme…

      • darcy
        link
        fedilink
        01 year ago

        no i was trying to show my method for avoiding that. i get the joke but i was also trying to be actually helpful

        • @[email protected]
          link
          fedilink
          111 year ago

          I can’t for the life of me figure out how your proposed method helps in the described scenario.

          Maybe I misunderstood it, can you elaborate?

        • El Barto
          link
          7
          edit-2
          1 year ago

          With your method, as soon as you hit control+C, the program is terminated.

          Or what are you doing to avoid the program being terminated?