Files
dotfiles/config/nvim/lua/plugins/dropbar.lua
2025-04-29 11:23:04 +02:00

16 lines
568 B
Lua

-- IDE-like breadcrumbs, out of the box
-- https://github.com/Bekaboo/dropbar.nvim
return {
"Bekaboo/dropbar.nvim",
dependencies = {
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
},
config = function()
local dropbar_api = require("dropbar.api")
vim.keymap.set("n", "<Leader>\\", dropbar_api.pick, { desc = "Pick symbols in winbar" })
vim.keymap.set("n", "[;", dropbar_api.goto_context_start, { desc = "Go to start of current context" })
vim.keymap.set("n", "];", dropbar_api.select_next_context, { desc = "Select next context" })
end,
}