From 7bed2c45509e107841d61bb03958f53887f5cfe6 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 1 Nov 2020 17:37:16 +0800 Subject: [PATCH] update wildignore settings --- core/options.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/options.vim b/core/options.vim index ebcfed1..7722d0f 100644 --- a/core/options.vim +++ b/core/options.vim @@ -60,7 +60,6 @@ set showbreak=↪ " List all matches and complete till longest common string set wildmode=list:longest -set wildignorecase " ignore file and dir name cases in cmd-completion set cursorline " Show current line where the cursor is @@ -81,9 +80,11 @@ set inccommand=nosplit " Show the result of substitution in real time for previ " Ignore certain files and folders when globbing set wildignore+=*.o,*.obj,*.bin,*.dll,*.exe set wildignore+=*/.git/*,*/.svn/*,*/__pycache__/*,*/build/** +set wildignore+=*.jpg,*.png,*.jpeg,*.bmp,*.gif,*.tiff set wildignore+=*.pyc set wildignore+=*.DS_Store set wildignore+=*.aux,*.bbl,*.blg,*.brf,*.fls,*.fdb_latexmk,*.synctex.gz +set wildignorecase " ignore file and dir name cases in cmd-completion " Ask for confirmation when handling unsaved or read-only files set confirm