• errer@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years 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
      arrow-up
      1
      ·
      edit-2
      2 years ago

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

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

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

    • lappy@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      2 years 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.

    • Trobador@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years 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