diff options
| author | jdhao <jdhao@hotmail.com> | 2022-01-07 00:40:48 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-01-07 00:40:48 +0800 |
| commit | 9cd43dcba9bb0ac9f560304bbfc06216f7b82583 (patch) | |
| tree | 9e24718f8615a43ea33d33de8c6b1084a78f3856 | |
| parent | d02fd0a69d6b8ce3c6ad573f59aec0e696c78247 (diff) | |
simplify wilder.nvim settings
| -rw-r--r-- | core/plugins.vim | 10 |
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( |
