• spez@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    23
    ·
    1 year ago

    Kitty has the feature that if you have text selected it will copy and if not then it will interrupt the command

    • lappy@lemmy.sdf.org
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      Yeah I love this feature. I love it so much that I’ll also tell everyone who cares to listen how you can use it. Edit your ~/.config/kitty/kitty.conf file to include map ctrl+c copy_and_clear_or_interrupt and you are good to go. Only issue I have that it doesn’t seem to work in the vscode terminal.

      • spez@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Any keybinds I have set don’t work in vscodium terminal for me too. I mainly use neovim for those things.

    • 4am@lemm.ee
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      5
      ·
      1 year ago

      Oh what a great way to further entrench a bad habbit! Hang on I need to remedy some refactored code with rm -rf * which Kitty made safe if I’m in a directory with my project files 🙄