1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

simplify wilder.nvim settings

This commit is contained in:
jdhao 2022-01-07 00:40:48 +08:00
parent d02fd0a69d
commit 9cd43dcba9

View File

@ -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(