Add nvim kitty scrollback
This commit is contained in:
parent
f98157cae1
commit
3bbe1d6016
|
@ -9,6 +9,10 @@
|
|||
size = lib.mkDefault 15;
|
||||
|
||||
};
|
||||
keybindings = {
|
||||
"kitty_mod+h" = "kitty_scrollback_nvim";
|
||||
"kitty_mod+g" = "kitty_scrollback_nvim --config ksb_builtin_last_cmd_output";
|
||||
};
|
||||
settings = {
|
||||
cursor_shape = "block";
|
||||
cursor_beam_thickness = 1;
|
||||
|
@ -17,6 +21,11 @@
|
|||
enable_audio_bell = "no";
|
||||
confirm_os_window_close = 0;
|
||||
modify_font = "cell_height 115%";
|
||||
allow_remote_control = "socket-only";
|
||||
listen_on = "unix:/tmp/kitty";
|
||||
shell_integration = "enabled";
|
||||
action_alias = "kitty_scrollback_nvim kitten /home/user/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py";
|
||||
mouse_map = "ctrl+shift+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output";
|
||||
|
||||
# Theme
|
||||
background = "#000010";
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
return {
|
||||
'mikesmithgh/kitty-scrollback.nvim',
|
||||
enabled = true,
|
||||
lazy = true,
|
||||
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
|
||||
event = { 'User KittyScrollbackLaunch' },
|
||||
version = '*', -- latest stable version, may have breaking changes if major version changed
|
||||
-- version = '^6.0.0', -- pin major version, include fixes and features that do not have breaking changes
|
||||
config = function()
|
||||
require('kitty-scrollback').setup()
|
||||
end,
|
||||
}
|
Loading…
Reference in New Issue