Copy & paste in a terminal without SHIFT












12














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.










share|improve this question
























  • 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




    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


















12














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.










share|improve this question
























  • 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




    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
















12












12








12


3





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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 9 '14 at 16:39









Anthon

60.3k17102163




60.3k17102163










asked Feb 9 '14 at 16:19









PepijnPepijn

163117




163117












  • 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




    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




















  • 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




    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


















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












4 Answers
4






active

oldest

votes


















10














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.






share|improve this answer























  • 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



















1














You can also select text and paste by clicking with the mouse scroller...






share|improve this answer





























    0














    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.






    share|improve this answer



















    • 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





















    0














    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.






    share|improve this answer





















      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
      });


      }
      });














      draft saved

      draft discarded


















      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









      10














      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.






      share|improve this answer























      • 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
















      10














      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.






      share|improve this answer























      • 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














      10












      10








      10






      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.






      share|improve this 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.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      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


















      • 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













      1














      You can also select text and paste by clicking with the mouse scroller...






      share|improve this answer


























        1














        You can also select text and paste by clicking with the mouse scroller...






        share|improve this answer
























          1












          1








          1






          You can also select text and paste by clicking with the mouse scroller...






          share|improve this answer












          You can also select text and paste by clicking with the mouse scroller...







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 23 '14 at 4:29









          Alessandro GubitosiAlessandro Gubitosi

          211




          211























              0














              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.






              share|improve this answer



















              • 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


















              0














              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.






              share|improve this answer



















              • 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
















              0












              0








              0






              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.






              share|improve this answer














              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.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              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
















              • 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













              0














              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.






              share|improve this answer


























                0














                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.






                share|improve this answer
























                  0












                  0








                  0






                  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.






                  share|improve this answer












                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  frabjousfrabjous

                  4,3271825




                  4,3271825






























                      draft saved

                      draft discarded




















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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







                      Popular posts from this blog

                      サソリ

                      広島県道265号伴広島線

                      Accessing regular linux commands in Huawei's Dopra Linux