mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 06:34:52 +00:00
fix: kitty scrollback nvim behavior
This commit is contained in:
parent
8e9d556cfe
commit
985e69b4b8
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user