4 ms·
Terminal is the only thing that maps ctrl+shift+c/v to copy/paste because ctrl+c/v conflicts with signals. I've never come across any other program that maps so
by mkdirp 5y ago
Terminal is the only thing that maps ctrl+shift+c/v to copy/paste because ctrl+c/v conflicts with signals. I've never come across any other program that maps something that isn't ctrl+c/v to copy/paste.
MacOS is able to keep this consistent because ctrl+c/v isn't mapped to copy/paste, and instead command+c/v is. If you really want, Linux is perfectly capable of mapping Super+c/v to copy/paste. You would probably only need to do this in your terminal emulator and your DE.
- rbreaves 5y agoReally not a good idea to remap super for copy and paste though.. that is just a very surface level thing to do I think and recommend to any mac user transitioning to Linux and is why I built Kinto.sh so that hacks like "remap Super+c/v" for copy and paste don't have to exist. https://github.com/rbreaves/kinto https://github.com/rbreaves/kinto The proper way is remap the modifier keys and then remap further based on the app on focus. Gives you coverage whether you explicitly remapped an individual app or not.
- ryanschneider 5y agoI came to this thread just to post that System 76 should hire you to work on their keyboard shortcuts if they are serious about attracting macOS users. Muscle memory is the only thing keeping me on macOS now, I’ve tried using an IDE on both Windows and Linux and gave up after a couple minutes. I tried kinto on Pop about a year ago and it worked pretty well but conflicted with their workspace and tiling key commands so never tried switching to it beyond a single days worth of preview.
- rbreaves 5y agoYea, I am not surprised. I actually was trying to target Pop_OS! to use as a daily on a desktop of mine, but... I had issues with the installer due to it not liking a network ethernet device I believe. I did get past that, but then I had an issue with wanting to use btrfs for snapshot features - the installer though does not setup your partitions correctly for that. It felt like Pop_OS! went out of their way to rewrite the own custom installers and then just decided not to support btrfs for whatever opinionated reason? I dunno - but it made me rather unhappy with the situation and I switched back to my Ubuntu Budgie distro of choice. Sad - because I would have dog fooded Kinto.sh seriously on Pop_OS! had they supported btrfs properly w/ snapshot support. Most Ubuntu based distros don't change the installer so much that proper btrfs support is broken. I do support them though and may purchase one of their laptops in the future and sure - I would love to work for System76 - despite not yet using their OS on anything besides a VM. I do think they get a lot right, and love that they open sourced their BIOS for their laptops. We need more companies like them selling Linux pre-installed.
- im_down_w_otp 5y agoThis almost works. This is what I initially tried to do. Just do a basic remapping of Control to Super in terms of key position. Then I tried to force my terminal to take Super-C, etc. to send the proper control sequence, and never succeeded. So, terminal windows and terminal applications became their own nightmare of special-casing, context-sensitive hell. My workflows bounce back and forth between lots of GUI stuff and terminal stuff, so I always have to be vigilant about what I'm copying from and what I'm pasting too. It's error prone and keeps me squarely out of fluid unconscious muscle memory speed-working. Remapping the position of Control to the Super key just shuffles the annoyance around, unfortunately. I tried to live with it for a few months.
- somenewaccount1 5y agoYeah, as the other person pointed out, it's not that simple. Like yourself, I also thought Linux would be capable, until you actually dig in to do it and realize it's a nightmare of different conflicts. For starters, that super key is usually for the main menu/dashboard in most Linux os's and intentionally not easy to remap. Then each application has its own key mapping, so even if you change the system copy/paste, chrome and any other app may have it practically hard coded - they are not all configurable and that includes most terminal applications. Seems so simple till you dig in and try to accomplish it. In the end, the best solution was to find a terminal app where I could switch the copy command with the cancel command, and then I just have to remember when I'm on my Linux system, cntrl+shift+c is to cancel a command. 1/2 the time I use the system terminal though, and then the command is back to Linux native. So now I have to remember that special terminal app to use, and that the cancel command is different, on top of the fact the key binding are on different keys also. It is annoying as hell. And that is ultimately why I end up using my work Mac, even for personal stuff I would prefer to be on Linux.
- diffeomorphism 5y agoFour examples: - Pretty much everything uses ctrl+shift+v for pasting without formating. Really useful for emails, Word, ...etc. - vim does not use ctrl+c/v - emacs (=Mac keybindings) also does not. Simply because their bindings predate IBM's ctrl+c/v - middle mouse button works everywhere and can use the same clipboard (one checkbox)