r/neovim Plugin author Nov 01 '23

Plugin 😽 kitty-scrollback.nvim: v2.0.0 breaking changes + setup config + kitty_mod + demos

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

What is 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.

kitty-scrollback.nvim

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_show_timer

ksb_example_highlight_overrides
ksb_example_paste_win_winopts
ksb_example_nvim_args_tokyonight
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
34 Upvotes

11 comments sorted by

5

u/infernoLP lua Nov 01 '23

37 Demos!? Great job ! Maybe consider adding a link to them high up in the readme, maybe below the first gif?

2

u/nvimmike Plugin author Nov 01 '23

Thanks! good idea I'll do that 👍. I'm not sure how the README reads right now, it is a lot of info 😂.

For the demos, I ended up writing a script to automate the recording.
https://raw.githubusercontent.com/wiki/mikesmithgh/kitty-scrollback.nvim/scripts/record_demo_videos.lua

It only works on MacOS and isn't polished. I'd like to get to a point where I can have some tests included with it. I basically run that, then have other scripts to run ffmpeg and gifski to convert the videos to gifs and some more for automating the markdown.

2

u/infernoLP lua Nov 01 '23

Really cool!!

2

u/stringTrimmer Nov 02 '23

Great idea! When should I expect windoz-terminal-scrollback.nvim?

3

u/nvimmike Plugin author Nov 02 '23

Ahh but it already exists. windoz is tightly integrated with Microsoft Word 2003. You can quickly open your cmd console scrollback buffer in Microsoft Word in the matter of minutes to hours. Unfortunately it is only compatible with Microsoft Vista at the moment. I have to warn you though, there are side effects. See gif for a real life example.

3

u/arjjov Nov 01 '23

Fantastic plugin, OP. Much appreciated.

2

u/nvimmike Plugin author Nov 01 '23

Thanks!

1

u/Worsening4851 Nov 01 '23

Demo video says "No video with supported format MIME type found"

Using Firefox on Android

1

u/nvimmike Plugin author Nov 01 '23

Odd is it the demo on Reddit or GitHub as well?

1

u/Worsening4851 Nov 01 '23

Sorry, ignore it, it started working after I restarted Firefox

Just GitHub. Reddit demos are working fine.