editor.flybuf

List buffers in a float window (flybuf.nvim)

Enable

Turn it on with :RafiExtras (Spacemx), or add it to extras in your rafi.json:

json
{ "extras": ["editor.flybuf"] }

Keymaps

KeyDescriptionMode
sfFlybuf𝐍

Plugins

Source
lua/rafi/extras/editor/flybuf.lua
-- List buffers in a float window (flybuf.nvim)
local pack = require('rafi.pack')

local loaded = false
local function load()
	if loaded then
		return
	end
	loaded = true
	vim.pack.add({ 'https://github.com/nvimdev/flybuf.nvim' })
	require('flybuf').setup({})
end

pack.later(load)

vim.keymap.set('n', 'sf', function()
	load()
	require('flybuf').toggle()
end, { desc = 'Flybuf' })