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:
parent
d02fd0a69d
commit
9cd43dcba9
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user