Skip to content

Conversation

@aionescu
Copy link
Member

@aionescu aionescu commented Nov 2, 2025

Description

This PR adds a new option programs.kitty.settings.mouseBindings which allows customizing Kitty mouse bindings in a structured way. This was previously possible via extraConfig, but the new option makes it easier.

Implementation-wise mouseBindings is very similar to the existing keybindings, just using the keyword mouse_map instead of map.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all
    nix run .#tests -- kitty.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@home-manager-ci home-manager-ci bot requested a review from khaneliman November 2, 2025 14:53
@khaneliman khaneliman merged commit 50a5766 into nix-community:master Nov 3, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants