Copy & paste in a terminal without SHIFT

keyboard shortcutsterminalterminal-emulator

In all terminal emulators that I know of, Ctrl is used for sending control codes such as Ctrl+C and Ctrl+Z. On most systems this conflicts with common keyboard shortcuts.

Thus on all those systems except OS X, CtrlShift is used for copy-pasting and more, which I find really annoying. If I got a penny for every time I opened the Firefox inspector accidentally, I would be rich.

I tried mimicking Apples behavior of using Cmd for keyboard shortcuts, but this is practically impossible to achieve across the whole desktop.

The other alternative is to use another combination for sending control codes. Is there any terminal emulator that supports this?

I found Sakura allows setting the modifier for key combos, but not for control characters.
Another desirable feature is non-messed-up line wrapping, but that is of secondary importance.

Best Answer

You can change your settings in Gnome Terminal keyboard settings to make

  • Ctrl+C = Copy
  • Ctrl+V = Paste

Menu > Edit > Keyboard Shortcuts... Gnome Keyboard Shortcuts Settings

Then you can still press Shift to do whatever that key combination would usually do in a terminal, e.g.

  • Ctrl+Shift+C = Interrupt
  • Ctrl+Shift+V = Literal Next Character

Alternatively, you could get into the habit of using

  • Ctrl+Ins = Copy
  • Shift+Del = Cut
  • Shift+Ins = Paste

in all applications, to avoid ever accidentally pressing Ctrl+C in your terminal and having it abort the program instead of copying some text. Those shortcuts date back to the IBM Common User Access standards. Some people might remember them from DOS EDIT.

Related Question