fix: kitty scrollback nvim behavior

This commit is contained in:
Noah Masur 2024-06-07 14:05:24 -04:00
parent 8e9d556cfe
commit 985e69b4b8
No known key found for this signature in database
2 changed files with 9 additions and 2 deletions

View File

@ -60,7 +60,7 @@
# Required for kitty-scrollback.nvim
allow_remote_control = "socket-only";
listen_on = "unix:/tmp/kitty";
action_alias = "kitty_scrollback_nvim kitten ${pkgs.vimPlugins.kitty-scrollback-nvim}/python/kitty_scrollback_nvim.py";
action_alias = "kitty_scrollback_nvim kitten ${pkgs.vimPlugins.kitty-scrollback-nvim}/python/kitty_scrollback_nvim.py --no-nvim-args";
# Colors (adapted from: https://github.com/kdrag0n/base16-kitty/blob/master/templates/default-256.mustache)
background = config.theme.colors.base00;

View File

@ -24,7 +24,14 @@
};
setup.glow = { };
setup.which-key = { };
setup.kitty-scrollback = { };
setup.kitty-scrollback = {
global = dsl.rawLua ''
{
keymaps_enabled = false,
vim.keymap.set({ 'v' }, 'y', '<Plug>(KsbVisualYank)<CR><Plug>(KsbQuitAll)', {})
}
'';
};
vim.o = {
termguicolors = true; # Set to truecolor