From 236c37eed01083a007f6fa494351f0f5349289c5 Mon Sep 17 00:00:00 2001 From: motius Date: Mon, 5 Jun 2017 12:48:30 +0200 Subject: [PATCH] ajout :Z reset vim diff history --- shell/vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/shell/vimrc b/shell/vimrc index 211756c..1bee0df 100644 --- a/shell/vimrc +++ b/shell/vimrc @@ -98,4 +98,13 @@ map :r!xclip -o let g:netrw_bufsettings = 'noma nomod nu nobl nowrap ro' " status line set laststatus=2 +" netrw ignore pyc +let g:netrw_list_hide= '.*\.pyc$,.*\.o$,.*\.out$' +" no wildmenu completion for +set wildignore+=*.a,*.o +set wildignore+=*.bmp,*.gif,*.ico,*.jpg,*.png +set wildignore+=.DS_Store,.git,.hg,.svn +set wildignore+=*~,*.swp,*.swo,*.tmp +" drop undo/redo history +command Z :set undoreload=0|edit