Releases: VoxelPrismatic/rabbit.nvim
Releases · VoxelPrismatic/rabbit.nvim
v4.0.0 - Nebula
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 tovim.loop
if unavailable- #12 is a peculiar bug. vim.loop is deprecated
v3.2.2
- 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
- v0.9.x does not support
- fix macOS compatibility
- apparently macOS does not include
width
orheight
when calling config - thank you, @jeromepin for helping me track this down
- apparently macOS does not include
- fix rabbit:reopen
- nvim v0.10.0 changed
evt.file
to be just the local file evt.match
produces the full name (for now)
- nvim v0.10.0 changed
- 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 instancerequire("Rabbit").Switch(...).func.select(...)
is now possible as an easy autocmd for harpoon
v3.2.1
- 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
⚞NEW⚟
- Harpoon plugin
- Like ThePrimeagen/Harpoon, but Rabbit
- You can now set float to center
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
orheight
tonil
- 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
v3.1.4
- 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
- compat warning is less intrusive
v3.1.2
- rabbit now redraws on winresized
- fixed massive ram leak
- rabbit now closes its own buffers
v3.1.1
fix missing keybinds on empty screen
v3.1.0; Rabbit Oxide
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
andfile
, respectively - Global listing API now works (I wear I added that previously, but I must've accidentally removed it)