wilder.nvim icon indicating copy to clipboard operation
wilder.nvim copied to clipboard

Wilder slow on `:!`

Open 7ijme opened this issue 1 year ago • 1 comments

When I use :! the fuzzy finder takes a very long time to look for executables. How would I be able to do a less consuming finder when I enter ! in the command line?

This is my config:

local wilder = require('wilder')
wilder.setup({modes = {':', '/', '?'}})
-- Disable Python remote plugin
wilder.set_option('use_python_remote_plugin', 0)

wilder.set_option('pipeline', {
  wilder.branch(
    wilder.cmdline_pipeline({
      fuzzy = 1,
      fuzzy_filter = wilder.lua_fzy_filter(),
    }),
    wilder.vim_search_pipeline()
  )
})

wilder.set_option('renderer', wilder.renderer_mux({
  [':'] = wilder.popupmenu_renderer({
    highlighter = wilder.lua_fzy_highlighter(),
    left = {
      ' ',
      wilder.popupmenu_devicons()
    },
    right = {
      ' ',
      wilder.popupmenu_scrollbar()
    },
  }),
  ['/'] = wilder.wildmenu_renderer({
    highlighter = wilder.lua_fzy_highlighter(),
  }),
}))

7ijme avatar Mar 26 '23 20:03 7ijme