aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/plugins.vim10
1 files changed, 3 insertions, 7 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index 9fc5226..182ee9c 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -393,13 +393,9 @@ augroup END
function! s:wilder_init() abort
try
- call wilder#enable_cmdline_enter()
- set wildcharm=<Tab>
- cmap <expr> <Tab> wilder#in_context() ? wilder#next() : "\<Tab>"
- cmap <expr> <S-Tab> wilder#in_context() ? wilder#previous() : "\<S-Tab>"
-
- " only / and ? are enabled by default
- call wilder#set_option('modes', ['/', '?', ':'])
+ call wilder#setup({
+ \ 'modes': [':', '/', '?'],
+ \ })
call wilder#set_option('pipeline', [
\ wilder#branch(