Use ctrl +shift +c to copy in terminal
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!
It’s all good bro the shafty is on
Ctrl+insert to copy and shift+insert also works! It was the DOS way of doing it.
Just have to be different don’t they.
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.
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.
Or just highlight the text and use middle click to paste
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.
Select text to copy. Middle click to paste.
Don’t use Ctrl…
Wayland broke that
what?, no
Don’t they ever test shit?
I’m sorry but… it works on my machine
I’m using sway and I still can do that with urxvt
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
What wonky touchpad makes that a problem?
You could use shift -insert instead I suppose.
It didn’t load completely at first, so i saw something like this and i think it is even better that way:
Now I’m upset this wasn’t the original haha
I think it works better with the context of the original already present.
Kitty has the feature that if you have text selected it will copy and if not then it will interrupt the command
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.Any keybinds I have set don’t work in vscodium terminal for me too. I mainly use neovim for those things.
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 🙄
Ctrl/Shift+Insert gang rise!
I bought a Mac to solve this problem lol
Should have used middle mouse button instead
Average itoddler
That sounds a lot like
My rear passenger tire was about 3psi low so I bought a new Grand Cherokee
you can literally change the shortcut
Modern problems require costly solutions.
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.
I’ve changed this on all my terminals and I’m not ashamed of it.
True strength is bending the machine to appease your habits, not to bend your habits to appease the machine.
No. The flesh is weak. The machine is immortal.
Flesh is fallible but ritual honours the machine spirit.
All hail the Omnissiah.
Yes! You know what it is, don’t you boy? Shall I tell you? It’s the least I can do. Steel isn’t strong, boy, flesh is stronger! Look around you. There, on the rocks; a beautiful girl. Come to me, my child.
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.
I don’t remember the last time I used ctrl-C. It’s always select or
"+y
.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.
And I just
set clipboard unnamedplus
I see myself in this meme and I do not like it.
Running a long command and didn’t ctrl-D it…
⌘ cmd >> ctrl https://toshy.app
press enter and then immediately CTRL+C to stop, then anytime u need u can press UP to go back to where you were
You missed the point of the meme…
no i was trying to show my method for avoiding that. i get the joke but i was also trying to be actually helpful
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?