From 9cd43dcba9bb0ac9f560304bbfc06216f7b82583 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 7 Jan 2022 00:40:48 +0800 Subject: [PATCH] simplify wilder.nvim settings --- core/plugins.vim | 10 +++------- 1 file 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= - cmap wilder#in_context() ? wilder#next() : "\" - cmap wilder#in_context() ? wilder#previous() : "\" - - " only / and ? are enabled by default - call wilder#set_option('modes', ['/', '?', ':']) + call wilder#setup({ + \ 'modes': [':', '/', '?'], + \ }) call wilder#set_option('pipeline', [ \ wilder#branch(