diff options
author | Guangxiong Lin <[email protected]> | 2022-04-13 10:05:52 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-13 10:05:52 +0800 |
commit | b8f377c303c04acdd793eb4f13777c0347146f72 (patch) | |
tree | 9a5a3d6d922be1884c8e219bf65142986560ef1d | |
parent | 42759d62300ffdf8419511acad1f11061a4f6571 (diff) | |
download | dotfiles-b8f377c303c04acdd793eb4f13777c0347146f72.tar.gz dotfiles-b8f377c303c04acdd793eb4f13777c0347146f72.tar.bz2 dotfiles-b8f377c303c04acdd793eb4f13777c0347146f72.zip |
Improve wildmode in vim
-rw-r--r-- | .vimrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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/') |