feat nvim: add pathbar
This commit is contained in:
parent
e0ba4d036b
commit
88dbefae00
17
dot_config/nvim/exact_lua/exact_plugins/exact_ui/pathbar.lua
Normal file
17
dot_config/nvim/exact_lua/exact_plugins/exact_ui/pathbar.lua
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
'Bekaboo/dropbar.nvim',
|
||||||
|
-- optional, but required for fuzzy finder support
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user