Skip to content

Commit

Permalink
feat(kitty): add mouse copy paste
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Jan 31, 2024
1 parent bd78823 commit b85739b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nix/modules/nixos/desktop/addons/kitty/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,17 @@ in {
keybindings = {
"kitty_mod+e" = "kitten hints"; # https://sw.kovidgoyal.net/kitty/kittens/hints/
"kitty_mod+f" = "toggle_fullscreen";
"kitty_mod+c" = "copy_to_clipboard";
};
extraConfig = ''
mouse_map right press ungrabbed copy_to_clipboard
mouse_map middle release ungrabbed paste_from_clipboard
'';
settings = {
disable_ligatures = "never";
macos_option_as_alt = "yes";
share_connections = "no";
kitty_mod = "ctrl+shift";

macos_quit_when_last_window_closed = "no";
sync_to_monitor = "no";
Expand Down

0 comments on commit b85739b

Please sign in to comment.