From 53446a15a1739c21593345921724bf950bc1625c Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 5 Jan 2022 14:01:58 +0530 Subject: [PATCH] nvim: after/plugin/wilder: Update configuration - Do not enable the popup menu automatically - Use arrow keys to navigate - Enable for cmdline --- nvim/.config/nvim/after/plugin/wilder.vim | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/nvim/.config/nvim/after/plugin/wilder.vim b/nvim/.config/nvim/after/plugin/wilder.vim index ff32ce4..32cc38d 100644 --- a/nvim/.config/nvim/after/plugin/wilder.vim +++ b/nvim/.config/nvim/after/plugin/wilder.vim @@ -1,21 +1,22 @@ call wilder#setup({ - \ 'modes': ['/', '?'], - \ 'next_key': '', - \ 'previous_key': '', - \ 'accept_key': '', - \ 'reject_key': '', + \ 'modes' : ['/', '?', ':'], + \ 'next_key' : '', + \ 'previous_key' : '', + \ 'accept_key' : '', + \ 'reject_key' : '', + \ 'enable_cmdline_enter' : 0, \ }) call wilder#set_option('pipeline', [ \ wilder#branch( \ wilder#python_file_finder_pipeline({ - \ 'file_command': ['fd', '-tf'], - \ 'dir_command': ['fd', '-td'], - \ 'filters': ['fuzzy_filter', 'difflib_sorter'], + \ 'file_command' : ['fd', '-tf'], + \ 'dir_command' : ['fd', '-td'], + \ 'filters' : ['fuzzy_filter', 'difflib_sorter'], \ }), \ wilder#cmdline_pipeline({ - \ 'fuzzy': 1, - \ 'set_pcre2_pattern': has('nvim'), + \ 'fuzzy' : 1, + \ 'set_pcre2_pattern' : has('nvim'), \ }), \ wilder#python_search_pipeline({ \ 'pattern': 'fuzzy',