• HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day 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.

    • blackbrook@mander.xyz
      link
      fedilink
      arrow-up
      1
      ·
      10 hours ago

      Thanks! I’m using konsole too, so that’s good to know. Do you remap something else to produce the ctrl-c character?

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

        No, I press ctrl + c on my keyboard and in Konsole settings it is ctrl + c for copy