Skip to content

Releases: VoxelPrismatic/rabbit.nvim

v4.0.0 - Nebula

20 Jun 04:44
Compare
Choose a tag to compare

i ran out of quirky names related to rabbits, so now i'm doing space related things

⚞NEW⚟

  • Harpoon plugin now allows collections
    • Like virtual folders
    • Still separated by directory, of course
  • Created a wiki to document everything outside of readme

Updates

  • Plugins no longer need to bind new autocmds. This is automatically handled.
    • breaking - please remove all instances of this
  • Updated compatibility details
  • Rabbit:History now pulls all the currently available buffers on windows with no history
    • Rabbit must be closed once before
    • I'll probably change this soon since it is unintuitive

Internals

  • New Input API
  • Rabbit now calls the BufEnter event on new windows
    • breaking - please remove any window listeners
  • A few more early returns
    • lua is actually the least syntactically readable language i have ever used
  • Added more context to prevent recalculating the same table

Bug Fixes

  • vim.uv is now set to vim.loop if unavailable
    • #12 is a peculiar bug. vim.loop is deprecated

v3.2.2

11 Jun 23:54
Compare
Choose a tag to compare
  • fix < v0.10.0 compatibility
    • v0.9.x does not support tabpage_set_win
    • replaced with set_current_win, as it's less redundant anyway
  • fix macOS compatibility
    • apparently macOS does not include width or height when calling config
    • thank you, @jeromepin for helping me track this down
  • fix rabbit:reopen
    • nvim v0.10.0 changed evt.file to be just the local file
    • evt.match produces the full name (for now)
  • entering insert mode in rabbit now works as expected
    • previously would bring you to line 1, column 1
    • now escapes the window before closing
  • require("Rabbit").Switch(...) now returns a rabbit instance
    • require("Rabbit").Switch(...).func.select(...) is now possible as an easy autocmd for harpoon

v3.2.1

07 Jun 19:13
Compare
Choose a tag to compare
  • fix out of bounds bug in harpoon
    • you could add the same entry multiple times at the end of the list, but deleting one would delete all
    • now you can only add each entry once, deleting the old one in the process

v3.2.0 - bunny ears

06 Jun 22:22
Compare
Choose a tag to compare

⚞NEW⚟

Updates

  • The History Rabbit will now recall the history of the last closed window
    • Only shown on new windows with no history
    • Option to restore full history if you closed the window accidentally
  • The Reopen Rabbit will now recall the list of open buffers you last closed with
    • Separated by current working directory
    • Only available if you haven't closed a buffer yet
    • Option to open all buffers to quickly resume work
  • The Oxide Rabbit is more efficient
    • Note: Previous history will be purged
    • Automatically deletes files that don't exist
    • Doesn't redraw the entire window on file_del
    • Entries don't jump around as much
  • The Rabbit window now automatically removes files that don't exist
  • Plugins can now have their own WinClosed autocmd

Bug Fixes

  • No longer crashes when you set rabbit.opts.window.width or height to nil
  • The global WinClosed autocmd now actually works
    • For how type-unsafe Lua is, I'm amazed that strings don't equal numbers

v3.1.5

06 Jun 04:03
Compare
Choose a tag to compare
  1. Add option to ignore unlisted buffers
    • Prevents showing :Oil buffers
  2. Fix no highlight crash bug
    • As found in #4, if any one of your highlight groups doesn't have a foreground color, Rabbit crashes.

v3.1.4

02 Jun 06:45
Compare
Choose a tag to compare
  • Optimize LuaDoc
    • Now it isn't all a bunch of classes in one file
  • Export ---@class Rabbit.Options so you can use the LSP to check your config, like in Lazy
  • Slight optimizations as I learn Lua

v3.1.3

30 May 18:04
Compare
Choose a tag to compare
  • compat warning is less intrusive

v3.1.2

28 May 19:43
Compare
Choose a tag to compare
  • rabbit now redraws on winresized
  • fixed massive ram leak
    • rabbit now closes its own buffers

v3.1.1

28 May 15:01
Compare
Choose a tag to compare

fix missing keybinds on empty screen

v3.1.0; Rabbit Oxide

28 May 08:26
Compare
Choose a tag to compare

yes, that's an element, i've decided.

⚞NEW⚟

  • Oxide plugin, which acts like zoxide but on how often you access files in a particular directory
  • Plugin API now supports persistent files
  • Keymap is shown below the Rabbit window (just scroll)

Updates

  • You can now change the plugin name position
  • Default file_del key is now <Del>
  • Added compatibility warnings for Windows. (seriously, if you use vim on win, you have other problems)

Fixes

  • Files would show ../../../../file or /file, now it shows :::/file and file, respectively
  • Global listing API now works (I wear I added that previously, but I must've accidentally removed it)