Centre click is a godsend though. I recently had to start using Windows again and I keep instinctively hitting it.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
selection autocopy and wheel/shift ins pasting is superior to all alternatives imo
Holy fucking shit. I just realized that's why Ctrl + C and Ctrl + V don't work in Micro. This has been eye opening.
I have been trying to bind ctrl c to copy in micro and alacrity, I can't find a way.
Always a pleasure to meet another Micro user.
xclip?
weird -- they work for me. ctrl+c sends SIGINT, and ctrl+v iirc isn't treated specially. i figured sending SIGINT with kill would then preform a copy, but it doesn't. fuck. now i have another puzzle...
My patch to add Copy/Paste keycode support to the Cosmic Terminal was merged!
As someone who likes Rust but dislikes the look of COSMIC, are there plans to allow theming?
There are already settings to change some of the colors used.
For the terminal in particular there is an option to hide the menu bar, making it look as Foot or Alacritty do.
There is an unintended benefit to putting an obstacle between people who don't know how to use the terminal and pasting code into it.
Expanding on this, we could make it so that root must use ed(1) to edit files?
No, only vi
vi is so outdated, we use viii now. You're two versions behind!
I've been using ctrl+c for copy and ctrl+v for paste for over a decade in my linux terminal by remapping the interrupt to ctrl+x.
It's basic ergonomics and user friendliness.
I do it on all my personal devices and servers.
Nothing bad happened in those ~15 years that I've been doing that. What the fuck are you arguing about?
I might actually do that too, but not for ergonomics. I'm just going nuts with sometimes ctrl-c,. sometimes ctrl-shift-c, sometimes ctrl-ins
I don't want copy paste buttons support, I want the caps lock delay to be fixed. Yes, I use the caps lock not shift, as my brain can't get used to using shift for caps. I'm so tired of typing like THis all the time. 😂 (I'm using a hack currently that helps, but it would be nice if it gets fixed on Linux in general).
Nothing wrong with you using caps lock instead of shift, but I haven't noticed any 'caps lock delay' personally.
Control+C is used to kill a process in the terminal and that shouldn't be overwritten. If it is, you'd have to create a totally separate key binding to kill a process. Seems unnecessarily complex when Control+Shift+C works just fine.
That's what I came here to say. What's the point in making an unnecessarily complex "hack" to circumvent what shift-control-c and v does? I've never had a problem with it. And there's something to be said for not making it super easy to paste text to a terminal, especially from places online...
The article doesn't suggest using Control+C. It talks about dedicated copy and paste key codes, and you can program your keyboard to map those codes to whatever keys you like. They suggest Fn+C.
standards.xkcd
Holy shit can you guys read the article please? It's an existing standard and a dedicated keycode
Kitty has a setting that makes Ctrl-C copy text, but only if you've selected something. If you haven't it does a regular break. Best of both worlds!
Control+C is used to kill a process in the terminal and that shouldn’t be overwritten.
Agreed. The post didn't suggest that.
Seems unnecessarily complex when Control+Shift+C works just fine.
For people already using programmable keyboards global copy/paste shortcuts are a nice perk.
I spend nearly all my day in a browser or a terminal and as I use a terminal and browser that already support this, the effect is 99% complete.
Honestly, this is a nice feature of macOS (or at least iTerm 2; I don’t use the official terminal). I know CTRL-C is used to kill processes and we all have that muscle memory but I usually try to change that on my personal Linux installs because I’ve hit it by mistake before.
I used to use CTRL+INSERT for copy and SHIFT+INSERT for paste but there’s usually no insert key on laptops or even small keyboards. It’s probably time to just adapt.
⌘C and ⌘V work in the native MacOS terminal app as well.
I have a typematrix keyboard.