mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
16 lines
568 B
Lua
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,
|
|
}
|