this post was submitted on 01 Nov 2023
18 points (100.0% liked)

Neovim

2161 readers
3 users here now

founded 1 year ago
MODERATORS
 

kitty-scrollback.nvim has officially released v2.0.0!

What is kitty-scrollback.nvim?

kitty-scrollback.nvim

A Neovim plugin (and Kitty Kitten) that allows you to navigate your Kitty scrollback buffer to quickly search, copy, and execute commands in Neovim.

Migrating to v2.0.0

See Migrating to v2.0.0 for the detailed migration guide.

What changed?

  • The --config-file option has been removed. Custom configurations are now supplied in the setup() function instead of separate config file. The config name corresponds to the key of the table provided to setup().
  • The default mapping keys changed from ctrl+shift to kitty_mod
  • 36 demos added to the Wiki Advanced-Configuration to exercise the different configuration options of kitty-scrollback.nvim. Here are a few.

ksb_example_status_win_autoclose ksb_example_status_win_autoclose

ksb_example_status_win_show_timer ksb_example_status_win_show_timer

ksb_example_highlight_overrides ksb_example_highlight_overrides

ksb_example_paste_win_winopts ksb_example_paste_win_winopts

ksb_example_nvim_args_tokyonight ksb_example_nvim_args_tokyonight

ksb_example_nvim_args_cellular_automation ksb_example_nvim_args_cellular_automation

If you have any questions, comments, or feedback feel free to let me know here or create an issue.

Breaking Changes ๐Ÿ˜ฟ Sorry breaking-changes-cat

top 7 comments
sorted by: hot top controversial new old
[โ€“] miniu@programming.dev 2 points 1 year ago (1 children)

might switch from alacritty to kitty almost just for this (although I've been meaning to for a while). the "immediately get scroll back into an nvim buffer to edit as a command" is pretty sweet

[โ€“] vext01@lemmy.sdf.org 1 points 1 year ago (2 children)

What's a kitty scrollback buffer?

[โ€“] vext01@lemmy.sdf.org 2 points 1 year ago (1 children)

I see. Kitty is a terminal.

[โ€“] nvimmike@programming.dev 1 points 1 year ago

Yep you got it. Kitty is a terminal. The scrollback buffer is the screen + history of the terminal session. This plugin lets you open it with Neovim plus some extras ๐Ÿ‘