• HiddenLayer555@lemmy.ml
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    2 days ago

    Centre click is a godsend though. I recently had to start using Windows again and I keep instinctively hitting it.

    • Zeoic@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      1 day ago

      One of the first things I had to disable when I switched to linux lol Middle click has so many other uses in windows that made it sooo jarring. Ctrl c and crtl v are good enough for me. (Or shift in terminals)

      • brax@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        Middle-click often works when ctrl+c/ctrl+v won’t. It’s also a separate buffer giving you the ability to have two different things copy/paste-able

  • Nibodhika@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    1 day ago

    sigh can’t believe that no one mentioned that there is a default set of shortcuts that are used across all GNU programs, and it’s been the default since way before Ctrl+C/Ctrl+V existed. You can easily copy/paste stuff in any terminal using the same keypresses you would on Emacs, I.e. Ctrl+space to start selection, Alt+W to copy and Ctrl+Y to paste. In fact you can navigate the entire line the same way, not just copy/pasting but moving back and forward, selecting and deleting stuff, e.g. Ctrl+A Ctrl+K cuts the entire line.

    Unless you activate Vi mode (which most terminals support) and then you can use the same keypresses you would on Vi, including ci" and other cool stuff that’s much more powerful that simple copy/paste.

    There is a default, it’s just not the same as word uses.

    • markstos@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      21 hours ago

      You describing a kill ring which is internal to the shell and not synced to the system clipboard. Nor does it work in GUI apps.

      The benefit of universal bindings is not have to learn one method for GUI apps, another for terminals and a third for shells implementing the kill-ring like bindings.

  • yesman@lemmy.world
    link
    fedilink
    arrow-up
    61
    ·
    3 days ago

    There is an unintended benefit to putting an obstacle between people who don’t know how to use the terminal and pasting code into it.

  • daggermoon@lemmy.world
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    3 days ago

    Holy fucking shit. I just realized that’s why Ctrl + C and Ctrl + V don’t work in Micro. This has been eye opening.

    • daggermoon@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      3 days ago

      As someone who likes Rust but dislikes the look of COSMIC, are there plans to allow theming?

      • markstos@lemmy.worldOP
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        There are already settings to change some of the colors used.

        For the terminal in particular there is an option to hide the menu bar, making it look as Foot or Alacritty do.

  • crimsoncobalt@lemmy.world
    link
    fedilink
    arrow-up
    33
    arrow-down
    9
    ·
    3 days ago

    Control+C is used to kill a process in the terminal and that shouldn’t be overwritten. If it is, you’d have to create a totally separate key binding to kill a process. Seems unnecessarily complex when Control+Shift+C works just fine.

    • markstos@lemmy.worldOP
      link
      fedilink
      arrow-up
      10
      ·
      3 days ago

      Control+C is used to kill a process in the terminal and that shouldn’t be overwritten.

      Agreed. The post didn’t suggest that.

      Seems unnecessarily complex when Control+Shift+C works just fine.

      For people already using programmable keyboards global copy/paste shortcuts are a nice perk.

      I spend nearly all my day in a browser or a terminal and as I use a terminal and browser that already support this, the effect is 99% complete.

    • randy@lemmy.ca
      link
      fedilink
      arrow-up
      7
      ·
      3 days ago

      I feel like you may have misunderstood the article. It’s talking about how support is increasing for dedicated Copy keys, and that programmable keyboards make it easy to use dedicated Copy keys. The article does not mention changing the behaviour of Ctrl-C.

      • enemenemu@lemm.ee
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        3 days ago

        towards universal copy paste keyboard shortcuts

        What else does this say?

    • wolfinthewoods@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      2 days ago

      That’s what I came here to say. What’s the point in making an unnecessarily complex “hack” to circumvent what shift-control-c and v does? I’ve never had a problem with it. And there’s something to be said for not making it super easy to paste text to a terminal, especially from places online…

    • JubilantJaguar@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      8
      ·
      3 days ago

      Come on, having a 3-key combo for such a common task is a PITA. There’s a reason people have been complaining about this for decades.

      • markstos@lemmy.worldOP
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        3 days ago

        The first time you accidentally type Control-C into a terminal and cancel an important process when you meant to copy some text it becomes a PITA.

        • JubilantJaguar@lemmy.world
          link
          fedilink
          arrow-up
          8
          arrow-down
          3
          ·
          3 days ago

          Exactly. I do it pretty regularly and I’ve been using Linux for 20 years.

          And yet people here are still saying “no biggie”. It’s pure status quo bias.

          • Shanmugha@lemmy.world
            link
            fedilink
            arrow-up
            1
            arrow-down
            3
            ·
            2 days ago

            No, it’s recognising that terminal has its own rules and the learned Ctrl+C for copy has no sense… Okay, C-Copy. Some sense. Now, Ctrl+V for… vaste? :)

            All while having an Insert fucking button.

            In the end, me personally does not care as long as Ctrl+C continues to be the process-killer

  • ShittyBeatlesFCPres@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    3 days ago

    Honestly, this is a nice feature of macOS (or at least iTerm 2; I don’t use the official terminal). I know CTRL-C is used to kill processes and we all have that muscle memory but I usually try to change that on my personal Linux installs because I’ve hit it by mistake before.

    I used to use CTRL+INSERT for copy and SHIFT+INSERT for paste but there’s usually no insert key on laptops or even small keyboards. It’s probably time to just adapt.

  • DonutsRMeh@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    2 days ago

    I don’t want copy paste buttons support, I want the caps lock delay to be fixed. Yes, I use the caps lock not shift, as my brain can’t get used to using shift for caps. I’m so tired of typing like THis all the time. 😂 (I’m using a hack currently that helps, but it would be nice if it gets fixed on Linux in general).

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    3 days ago

    there’s a growing adoption of keyboards with custom firmware– programmable keyboards

    1. There’s an error
    2. You have computers? We have computers to send keystrokes to our computers!

    Edit: i mean, there’s software to remap your keyboard.

  • azimir@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    3 days ago

    Wow. I haven’t seen a Sun keyboard like that in … geez forever. Whose were fun times. I was younger then.

      • Anti_Iridium@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        While correct, for the keyboard I linked, when you press F13 through F24 it sends Shift+F1 through Shift+F12. Which is not impossible to remap, but what if you need to press Shift+F1?