From d2054b465846af07fb47a20d2e9548b89a364e0c Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 4 Sep 2024 21:25:56 -0700 Subject: [PATCH] kitty: set nvim scrollback pager to use clipboard by default --- users/youwen/linux/programs/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/users/youwen/linux/programs/default.nix b/users/youwen/linux/programs/default.nix index 7412050..98a8226 100644 --- a/users/youwen/linux/programs/default.nix +++ b/users/youwen/linux/programs/default.nix @@ -17,12 +17,9 @@ 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"; - scrollback_pager = ''nvim --noplugin -c "set signcolumn=no showtabline=0" -c "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer - "''; + scrollback_pager = ''nvim --noplugin -c "set signcolumn=no showtabline=0 clipboard=unnamedplus" -c "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer - "''; }; keybindings = { - # "kitty_mod+h" = "kitty_scrollback_nvim"; - # "kitty_mod+g" = "kitty_scrollback_nvim --config ksb_builtin_last_cmd_output"; "kitty_mod+h" = "show_scrollback"; }; };