• HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    19 hours ago

    I’ve been using ctrl+c for copy and ctrl+v for paste for over a decade in my linux terminal by remapping the interrupt to ctrl+x.

    It’s basic ergonomics and user friendliness.

    I do it on all my personal devices and servers.

    Nothing bad happened in those 10 years that I’ve been doing that. What the fuck are you arguing about?

    • Phoenixz@lemmy.ca
      link
      fedilink
      arrow-up
      8
      ·
      18 hours ago

      I might actually do that too, but not for ergonomics. I’m just going nuts with sometimes ctrl-c,. sometimes ctrl-shift-c, sometimes ctrl-ins

      • HelloRoot@lemy.lol
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        18 hours ago

        If you need any help, ping me and I’ll share my setup.

        The reason you gave still falls under the concept of ergonomics.

        From wikipedia:

        Ergonomics, also known as human factors or human factors engineering (HFE), is the application of psychological and physiological principles to the engineering and design of products, processes, and systems. Primary goals of human factors engineering are to reduce human error, increase productivity and system availability, and enhance safety, health and comfort with a specific focus on the interaction between the human and equipment.

        It would be a more ergonomic (and less error prone) system if you modify the shortcuts so that you don’t fumble them.

          • HelloRoot@lemy.lol
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 hours ago

            My current setup:

            ~/.bashrc

              stty intr \^x
              bind -f ~/.inputrc
            

            ~/.inputrc

            set bind-tty-special-chars off
            
            set colored-stats on
            set show-all-if-ambiguous on
            set show-all-if-unmodified on
            set completion-ignore-case on
            set completion-query-items -1
            set page-completions off
            
            "\e[1;5C": forward-word
            "\e[1;5D": backward-word
            "\C-h": nop
            "\C-s":"\C-asudo "
            

            And in Konsole I have remapped copy to ctrl+C and paste to ctrl+V .

            I honestly don’t remember what each config line is for, cause it has been so long ago. And probably you don’t want all of that. Probably best to throw it into an AI and let it explain it line by line.