Global keyboard shortcut for copy, cut and paste
These are global shortcuts that work out of the box (tested with Debian 8.2) in terminals and GUI applications:
- copy: Ctrl+Insert
- paste: Shift+Insert
- cut: Shift+Delete
I didn't test it but to change these shortcuts you could try: Use Shift+Insert to paste from clipboard in gnome-terminal?
Related videos on Youtube
Adam Matan
Team leader, developer, and public speaker. I build end-to-end apps using modern cloud infrastructure, especially serverless tools. My current position is R&D Manager at Corvid by Wix.com, a serverless platform for rapid web app generation. My CV and contact details are available on my Github README.
Updated on September 18, 2022Comments
-
Adam Matan over 1 year
How can I define a global shortcuts for copy, cut and paste?
I'm used to Mac's ⌘+C for copy and ⌘+V for paste. They are global, so I can use them interchanging data between CLI and GUI apps.
How can one configure global shortcuts, e.g ⊞ Win+C (copy) and ⊞ Win+V (paste) in Ubuntu 12.04?
-
Mitch almost 11 yearsHave you tried the same in Ubuntu?
-
Adam Matan almost 11 yearsYes.
⊞ Win+C
pops the "search photos" screen. -
Mitch almost 11 yearsTry
⌘+C
in Ubuntu -
Adam Matan almost 11 yearsI don't have a
⌘
key - it's a windows laptop keyboard with a⊞
key. -
Adam Matan almost 11 years@Mitch thanks, but I don't see how your answer allows me to create global copy and paste shortcut that would work for the terminal, too.
-
Anake almost 11 yearsIs the standard configuration really that bad? Ctrl-C generally and Ctrl-Shift-C in terminal? (same with V for paste).
-
Sonique almost 9 years@Anake Yes it's really bad when half of time you are using Mac Os :) Anyway, meta key on Linux pretty useless button so why not to remap for this actions and use it anywhere. Also want to remap change_input_language to Meta+Space, but it also looks impossible.
-