Releases: mikesmithgh/kitty-scrollback.nvim
v6.2.1
v6.2.0
v6.1.2
v6.1.1
v6.1.0
6.1.0 (2024-12-18)
Features
See Command-line editing setup for setup instructions.
bash (edit-and-execute-command), fish (edit_command_buffer), and zsh (edit-command-line) all have the ability to edit the current command in an external editor. The typical workflow is that you have a long command already entered in your shell that you need to modify and execute, this makes it easy to refine complex commands.
After setting up command-line editing in kitty-scrollback.nvim, you can open your current command in kitty-scrollback.nvim's paste window. The benefit of this approach compared to using a standard Neovim instance is that you still have access to the scrollback history and kitty-scrollback.nvim's features to help you quickly modify or execute the command.
v6.0.0
6.0.0 (2024-11-15)
BREAKING CHANGES
- Change the default keymap for quitting kitty-scrollback.nvim from
<Esc>
toq
.
If you prefer the previous behavior of using <Esc>
to exit kitty-scrollback.nvim, this can be reconfigured by
adding the following to your kitty-scrollback.nvim setup.
vim.keymap.set({ 'n' }, '<Esc>', '<Plug>(KsbCloseOrQuitAll)', {})
For example, if you are using lazy.nvim, it would look something like this
return {
{
'mikesmithgh/kitty-scrollback.nvim',
lazy = true,
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
event = { 'User KittyScrollbackLaunch' },
config = function()
vim.keymap.set({ 'n' }, '<Esc>', '<Plug>(KsbCloseOrQuitAll)', {}) -- quit kitty-scrollback.nvim with Esc key
-- vim.keymap.set({ 'n' }, 'q', '<Plug>(KsbCloseOrQuitAll)', {}) -- uncomment if you would like to also quit with the q key
require('kitty-scrollback').setup()
end,
},
}