From b8f377c303c04acdd793eb4f13777c0347146f72 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 13 Apr 2022 10:05:52 +0800 Subject: Improve wildmode in vim --- .vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index f71323d..9567953 100644 --- a/.vimrc +++ b/.vimrc @@ -80,12 +80,16 @@ set smartcase " Completion +set path+=** set wildmenu -set wildmode=longest:list,full +set wildignorecase +set wildmode=list:longest,full set wildignore=*.o,*.obj,*~ set wildignore+=*DS_Store* set wildignore+=*.gem set wildignore+=*.png,*.jpg,*.gif +set wildignore+=**/.git/** +set wildignore+=**/node_modules/** " change default directory let s:vim_swapfiles_dir = expand('~/.vim/.swp/') -- cgit v1.2.3