from scratch
This commit is contained in:
1 parent
deb9bcea46
commit
402cd48057
24 files changed
+738
-59
No files matched your search
@@ -0,0 +1,42 @@
|
||||
return {
|
||||
{
|
||||
'gelguy/wilder.nvim',
|
||||
keys = {
|
||||
':',
|
||||
'/',
|
||||
'?',
|
||||
},
|
||||
dependencies = {
|
||||
'catppuccin/nvim',
|
||||
},
|
||||
config = function()
|
||||
local wilder = require('wilder')
|
||||
|
||||
-- Enable wilder when pressing :, / or ?
|
||||
wilder.setup({ modes = { ':', '/', '?' } })
|
||||
|
||||
-- Enable fuzzy matching for commands and buffers
|
||||
wilder.set_option('pipeline', {
|
||||
wilder.branch(
|
||||
wilder.cmdline_pipeline({
|
||||
fuzzy = 1,
|
||||
}),
|
||||
wilder.vim_search_pipeline({
|
||||
fuzzy = 1,
|
||||
})
|
||||
),
|
||||
})
|
||||
|
||||
wilder.set_option(
|
||||
'renderer',
|
||||
wilder.popupmenu_renderer(wilder.popupmenu_palette_theme({
|
||||
border = 'rounded',
|
||||
max_height = '75%',
|
||||
min_height = 0,
|
||||
prompt_position = 'top',
|
||||
reverse = 0,
|
||||
}))
|
||||
)
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user