Copy & paste in a terminal without SHIFT
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.
terminal keyboard-shortcuts terminal-emulator
add a comment |
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.
terminal keyboard-shortcuts terminal-emulator
Ifvi
is your thing you can set your terminal in vi mode:$ set -o vi
and everything you do invi
can be done on terminal.
– mkc
Feb 9 '14 at 16:56
1
On *nix systems you selecting anything copies it to the clipboard (well, one of them) and middle clicking pastes. No need for a keyboard shortcut.
– terdon♦
Feb 9 '14 at 17:22
I'd suggest looking through the back catalog of Q&A on U&L, specifically: "unix clipboard". The Unix clipboard is much more sophisticated than the Windows one you're familiar with. There are multiple clipboards as well as a whole host of tools for interacting with them.
– slm♦
Feb 9 '14 at 17:34
What are you talking about... Selecting text in my terminal does not copy anything. I'm not familiar with Windows. I use vi mode already, butesc, v
does not let me select and yank stuff.
– Pepijn
Feb 10 '14 at 12:43
add a comment |
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.
terminal keyboard-shortcuts terminal-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.
terminal keyboard-shortcuts terminal-emulator
terminal keyboard-shortcuts terminal-emulator
edited Feb 9 '14 at 16:39
Anthon
60.3k17102163
60.3k17102163
asked Feb 9 '14 at 16:19
PepijnPepijn
163117
163117
Ifvi
is your thing you can set your terminal in vi mode:$ set -o vi
and everything you do invi
can be done on terminal.
– mkc
Feb 9 '14 at 16:56
1
On *nix systems you selecting anything copies it to the clipboard (well, one of them) and middle clicking pastes. No need for a keyboard shortcut.
– terdon♦
Feb 9 '14 at 17:22
I'd suggest looking through the back catalog of Q&A on U&L, specifically: "unix clipboard". The Unix clipboard is much more sophisticated than the Windows one you're familiar with. There are multiple clipboards as well as a whole host of tools for interacting with them.
– slm♦
Feb 9 '14 at 17:34
What are you talking about... Selecting text in my terminal does not copy anything. I'm not familiar with Windows. I use vi mode already, butesc, v
does not let me select and yank stuff.
– Pepijn
Feb 10 '14 at 12:43
add a comment |
Ifvi
is your thing you can set your terminal in vi mode:$ set -o vi
and everything you do invi
can be done on terminal.
– mkc
Feb 9 '14 at 16:56
1
On *nix systems you selecting anything copies it to the clipboard (well, one of them) and middle clicking pastes. No need for a keyboard shortcut.
– terdon♦
Feb 9 '14 at 17:22
I'd suggest looking through the back catalog of Q&A on U&L, specifically: "unix clipboard". The Unix clipboard is much more sophisticated than the Windows one you're familiar with. There are multiple clipboards as well as a whole host of tools for interacting with them.
– slm♦
Feb 9 '14 at 17:34
What are you talking about... Selecting text in my terminal does not copy anything. I'm not familiar with Windows. I use vi mode already, butesc, v
does not let me select and yank stuff.
– Pepijn
Feb 10 '14 at 12:43
If
vi
is your thing you can set your terminal in vi mode: $ set -o vi
and everything you do in vi
can be done on terminal.– mkc
Feb 9 '14 at 16:56
If
vi
is your thing you can set your terminal in vi mode: $ set -o vi
and everything you do in vi
can be done on terminal.– mkc
Feb 9 '14 at 16:56
1
1
On *nix systems you selecting anything copies it to the clipboard (well, one of them) and middle clicking pastes. No need for a keyboard shortcut.
– terdon♦
Feb 9 '14 at 17:22
On *nix systems you selecting anything copies it to the clipboard (well, one of them) and middle clicking pastes. No need for a keyboard shortcut.
– terdon♦
Feb 9 '14 at 17:22
I'd suggest looking through the back catalog of Q&A on U&L, specifically: "unix clipboard". The Unix clipboard is much more sophisticated than the Windows one you're familiar with. There are multiple clipboards as well as a whole host of tools for interacting with them.
– slm♦
Feb 9 '14 at 17:34
I'd suggest looking through the back catalog of Q&A on U&L, specifically: "unix clipboard". The Unix clipboard is much more sophisticated than the Windows one you're familiar with. There are multiple clipboards as well as a whole host of tools for interacting with them.
– slm♦
Feb 9 '14 at 17:34
What are you talking about... Selecting text in my terminal does not copy anything. I'm not familiar with Windows. I use vi mode already, but
esc, v
does not let me select and yank stuff.– Pepijn
Feb 10 '14 at 12:43
What are you talking about... Selecting text in my terminal does not copy anything. I'm not familiar with Windows. I use vi mode already, but
esc, v
does not let me select and yank stuff.– Pepijn
Feb 10 '14 at 12:43
add a comment |
4 Answers
4
active
oldest
votes
You can change your settings in Gnome Terminal keyboard settings to make
Ctrl+C = Copy
Ctrl+V = Paste
Menu > Edit > Keyboard Shortcuts...
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.
How to do that under xfce terminal ?
– ChiseledAbs
Mar 21 '16 at 10:51
1
You, Sir, made my day! I'm appalled how long I lived with ctrl+shift+c/v and all the havoc confusing them between applications has caused considering how easy this fix was.
– Eloff
Sep 12 '17 at 21:04
add a comment |
You can also select text and paste by clicking with the mouse scroller...
add a comment |
I'm a fan of Parcellite. It can copy content on selection and paste on mouse middle click. It is much faster than using keyboard shortcuts. Give it a try.
4
+1 but that has nothing to do with parcelite, select to copy and middle click paste is default *nix behavior.
– terdon♦
Feb 9 '14 at 17:22
add a comment |
With the kitty terminal you can set this configuration option (not default, but nice):
map ctrl+c copy_or_interrupt
Then when you hit Ctrl-C, it will copy if something is selected, but if nothing is selected, it'll send the regular Interrupt signal.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f114392%2fcopy-paste-in-a-terminal-without-shift%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can change your settings in Gnome Terminal keyboard settings to make
Ctrl+C = Copy
Ctrl+V = Paste
Menu > Edit > Keyboard Shortcuts...
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.
How to do that under xfce terminal ?
– ChiseledAbs
Mar 21 '16 at 10:51
1
You, Sir, made my day! I'm appalled how long I lived with ctrl+shift+c/v and all the havoc confusing them between applications has caused considering how easy this fix was.
– Eloff
Sep 12 '17 at 21:04
add a comment |
You can change your settings in Gnome Terminal keyboard settings to make
Ctrl+C = Copy
Ctrl+V = Paste
Menu > Edit > Keyboard Shortcuts...
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.
How to do that under xfce terminal ?
– ChiseledAbs
Mar 21 '16 at 10:51
1
You, Sir, made my day! I'm appalled how long I lived with ctrl+shift+c/v and all the havoc confusing them between applications has caused considering how easy this fix was.
– Eloff
Sep 12 '17 at 21:04
add a comment |
You can change your settings in Gnome Terminal keyboard settings to make
Ctrl+C = Copy
Ctrl+V = Paste
Menu > Edit > Keyboard Shortcuts...
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.
You can change your settings in Gnome Terminal keyboard settings to make
Ctrl+C = Copy
Ctrl+V = Paste
Menu > Edit > Keyboard Shortcuts...
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.
edited Feb 9 '14 at 17:58
answered Feb 9 '14 at 17:51
MikelMikel
39k1099125
39k1099125
How to do that under xfce terminal ?
– ChiseledAbs
Mar 21 '16 at 10:51
1
You, Sir, made my day! I'm appalled how long I lived with ctrl+shift+c/v and all the havoc confusing them between applications has caused considering how easy this fix was.
– Eloff
Sep 12 '17 at 21:04
add a comment |
How to do that under xfce terminal ?
– ChiseledAbs
Mar 21 '16 at 10:51
1
You, Sir, made my day! I'm appalled how long I lived with ctrl+shift+c/v and all the havoc confusing them between applications has caused considering how easy this fix was.
– Eloff
Sep 12 '17 at 21:04
How to do that under xfce terminal ?
– ChiseledAbs
Mar 21 '16 at 10:51
How to do that under xfce terminal ?
– ChiseledAbs
Mar 21 '16 at 10:51
1
1
You, Sir, made my day! I'm appalled how long I lived with ctrl+shift+c/v and all the havoc confusing them between applications has caused considering how easy this fix was.
– Eloff
Sep 12 '17 at 21:04
You, Sir, made my day! I'm appalled how long I lived with ctrl+shift+c/v and all the havoc confusing them between applications has caused considering how easy this fix was.
– Eloff
Sep 12 '17 at 21:04
add a comment |
You can also select text and paste by clicking with the mouse scroller...
add a comment |
You can also select text and paste by clicking with the mouse scroller...
add a comment |
You can also select text and paste by clicking with the mouse scroller...
You can also select text and paste by clicking with the mouse scroller...
answered Feb 23 '14 at 4:29
Alessandro GubitosiAlessandro Gubitosi
211
211
add a comment |
add a comment |
I'm a fan of Parcellite. It can copy content on selection and paste on mouse middle click. It is much faster than using keyboard shortcuts. Give it a try.
4
+1 but that has nothing to do with parcelite, select to copy and middle click paste is default *nix behavior.
– terdon♦
Feb 9 '14 at 17:22
add a comment |
I'm a fan of Parcellite. It can copy content on selection and paste on mouse middle click. It is much faster than using keyboard shortcuts. Give it a try.
4
+1 but that has nothing to do with parcelite, select to copy and middle click paste is default *nix behavior.
– terdon♦
Feb 9 '14 at 17:22
add a comment |
I'm a fan of Parcellite. It can copy content on selection and paste on mouse middle click. It is much faster than using keyboard shortcuts. Give it a try.
I'm a fan of Parcellite. It can copy content on selection and paste on mouse middle click. It is much faster than using keyboard shortcuts. Give it a try.
edited Feb 9 '14 at 17:30
slm♦
247k66514678
247k66514678
answered Feb 9 '14 at 16:28
camabehcamabeh
1565
1565
4
+1 but that has nothing to do with parcelite, select to copy and middle click paste is default *nix behavior.
– terdon♦
Feb 9 '14 at 17:22
add a comment |
4
+1 but that has nothing to do with parcelite, select to copy and middle click paste is default *nix behavior.
– terdon♦
Feb 9 '14 at 17:22
4
4
+1 but that has nothing to do with parcelite, select to copy and middle click paste is default *nix behavior.
– terdon♦
Feb 9 '14 at 17:22
+1 but that has nothing to do with parcelite, select to copy and middle click paste is default *nix behavior.
– terdon♦
Feb 9 '14 at 17:22
add a comment |
With the kitty terminal you can set this configuration option (not default, but nice):
map ctrl+c copy_or_interrupt
Then when you hit Ctrl-C, it will copy if something is selected, but if nothing is selected, it'll send the regular Interrupt signal.
add a comment |
With the kitty terminal you can set this configuration option (not default, but nice):
map ctrl+c copy_or_interrupt
Then when you hit Ctrl-C, it will copy if something is selected, but if nothing is selected, it'll send the regular Interrupt signal.
add a comment |
With the kitty terminal you can set this configuration option (not default, but nice):
map ctrl+c copy_or_interrupt
Then when you hit Ctrl-C, it will copy if something is selected, but if nothing is selected, it'll send the regular Interrupt signal.
With the kitty terminal you can set this configuration option (not default, but nice):
map ctrl+c copy_or_interrupt
Then when you hit Ctrl-C, it will copy if something is selected, but if nothing is selected, it'll send the regular Interrupt signal.
answered 2 hours ago
frabjousfrabjous
4,3271825
4,3271825
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f114392%2fcopy-paste-in-a-terminal-without-shift%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If
vi
is your thing you can set your terminal in vi mode:$ set -o vi
and everything you do invi
can be done on terminal.– mkc
Feb 9 '14 at 16:56
1
On *nix systems you selecting anything copies it to the clipboard (well, one of them) and middle clicking pastes. No need for a keyboard shortcut.
– terdon♦
Feb 9 '14 at 17:22
I'd suggest looking through the back catalog of Q&A on U&L, specifically: "unix clipboard". The Unix clipboard is much more sophisticated than the Windows one you're familiar with. There are multiple clipboards as well as a whole host of tools for interacting with them.
– slm♦
Feb 9 '14 at 17:34
What are you talking about... Selecting text in my terminal does not copy anything. I'm not familiar with Windows. I use vi mode already, but
esc, v
does not let me select and yank stuff.– Pepijn
Feb 10 '14 at 12:43