-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Mike Smith edited this page Mar 10, 2024
·
26 revisions
Table of Contents generated with DocToc
See Advanced Configuration Examples for detailed demos of configuration options.
After kitty-scrollback.nvim loads, enter command-line mode with the search pattern "?" to start searching for text. The following creates a configurations with the name search
and a mapping to open it with kitty_mod+f
.
require('kitty-scrollback').setup({
search = {
callbacks = {
after_ready = function()
vim.api.nvim_feedkeys('?', 'n', false)
end,
},
},
})
map kitty_mod+f kitty_scrollback_nvim --config search
Recommended configurations for other plugins that may be impacted by kitty-scrollback.nvim.
Hide kitty-scrollback.nvim buffers in the tabline.
require('barbar').setup({
auto_hide = vim.env.KITTY_SCROLLBACK_NVIM == 'true' and 1 or -1,
})
Disable auto-save.nvim when kitty-scrollback.nvim is active.
require('auto-save').setup({
enabled = vim.env.KITTY_SCROLLBACK_NVIM ~= 'true',
})
😽 Open your Kitty scrollback buffer with Neovim. Ameowzing!