nvim: after/plugin/wilder: Update configuration
- Do not enable the popup menu automatically - Use arrow keys to navigate - Enable for cmdline
This commit is contained in:
parent
307ae9eb7f
commit
53446a15a1
1 changed files with 11 additions and 10 deletions
|
@ -1,21 +1,22 @@
|
||||||
call wilder#setup({
|
call wilder#setup({
|
||||||
\ 'modes': ['/', '?'],
|
\ 'modes' : ['/', '?', ':'],
|
||||||
\ 'next_key': '<Tab>',
|
\ 'next_key' : '<Down>',
|
||||||
\ 'previous_key': '<S-Tab>',
|
\ 'previous_key' : '<Up>',
|
||||||
\ 'accept_key': '<Down>',
|
\ 'accept_key' : '<Right>',
|
||||||
\ 'reject_key': '<Up>',
|
\ 'reject_key' : '<Left>',
|
||||||
|
\ 'enable_cmdline_enter' : 0,
|
||||||
\ })
|
\ })
|
||||||
|
|
||||||
call wilder#set_option('pipeline', [
|
call wilder#set_option('pipeline', [
|
||||||
\ wilder#branch(
|
\ wilder#branch(
|
||||||
\ wilder#python_file_finder_pipeline({
|
\ wilder#python_file_finder_pipeline({
|
||||||
\ 'file_command': ['fd', '-tf'],
|
\ 'file_command' : ['fd', '-tf'],
|
||||||
\ 'dir_command': ['fd', '-td'],
|
\ 'dir_command' : ['fd', '-td'],
|
||||||
\ 'filters': ['fuzzy_filter', 'difflib_sorter'],
|
\ 'filters' : ['fuzzy_filter', 'difflib_sorter'],
|
||||||
\ }),
|
\ }),
|
||||||
\ wilder#cmdline_pipeline({
|
\ wilder#cmdline_pipeline({
|
||||||
\ 'fuzzy': 1,
|
\ 'fuzzy' : 1,
|
||||||
\ 'set_pcre2_pattern': has('nvim'),
|
\ 'set_pcre2_pattern' : has('nvim'),
|
||||||
\ }),
|
\ }),
|
||||||
\ wilder#python_search_pipeline({
|
\ wilder#python_search_pipeline({
|
||||||
\ 'pattern': 'fuzzy',
|
\ 'pattern': 'fuzzy',
|
||||||
|
|
Loading…
Reference in a new issue