65 points

Use ctrl +shift +c to copy in terminal

permalink
report
reply
106 points

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!

permalink
report
parent
reply
6 points

It’s all good bro the shafty is on

permalink
report
parent
reply
15 points
*

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

permalink
report
parent
reply
12 points

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

permalink
report
parent
reply
5 points

Just have to be different don’t they.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
2 points

Or just highlight the text and use middle click to paste

permalink
report
parent
reply
61 points

Select text to copy. Middle click to paste.

Don’t use Ctrl…

permalink
report
reply
1 point
Deleted by creator
permalink
report
parent
reply
16 points

I’m sorry but… it works on my machine

permalink
report
parent
reply
5 points

what?, no

permalink
report
parent
reply
3 points

I’m using sway and I still can do that with urxvt

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
0 points

Don’t they ever test shit?

permalink
report
parent
reply
0 points

It’s less that it’s broken and more that it hasn’t been implemented yet AFAIK.

permalink
report
parent
reply
0 points

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

permalink
report
parent
reply
3 points

What wonky touchpad makes that a problem?

You could use shift -insert instead I suppose.

permalink
report
parent
reply
35 points

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

permalink
report
reply
3 points

Now I’m upset this wasn’t the original haha

permalink
report
parent
reply
2 points

I think it works better with the context of the original already present.

permalink
report
parent
reply
32 points
*

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

permalink
report
reply
19 points

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

permalink
report
parent
reply
9 points

I open developer tools every day doing that!

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply
8 points

Burn it with fire!

permalink
report
parent
reply
3 points

😂

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
23 points

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

permalink
report
reply
13 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
6 points

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 🙄

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 1.9K

    Monthly active users

  • 1.1K

    Posts

  • 39K

    Comments