From 47a2603989810181448738abde6f1eae7704fc88 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 12 Aug 2024 20:13:56 -0700 Subject: [PATCH] feat: add nvim + kitty integration --- users/youwen/linux/programs/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/users/youwen/linux/programs/default.nix b/users/youwen/linux/programs/default.nix index b2c8c9d..20a0e61 100644 --- a/users/youwen/linux/programs/default.nix +++ b/users/youwen/linux/programs/default.nix @@ -10,6 +10,13 @@ shell_integration = "enabled"; enable_audio_bell = "no"; background_opacity = "0.8"; + allow_remote_control = "socket-only"; + listen_on = "unix:/tmp/kitty"; + action_alias = "kitty_scrollback_nvim kitten /home/youwen/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py"; + }; + keybindings = { + "kitty_mod+h" = "kitty_scrollback_nvim"; + "kitty_mod+g" = "kitty_scrollback_nvim --config ksb_builtin_last_cmd_output"; }; };