vim-vinegar
vim-vinegar copied to clipboard
Make vinegar silent
I've been trying to make vinegar silent (ie. remove all those messages like "./" Illegal file name).
I came up with this:
diff --git a/plugin/vinegar.vim b/plugin/vinegar.vim
index f471141..af4d43c 100644
--- a/plugin/vinegar.vim
+++ b/plugin/vinegar.vim
@@ -26,7 +26,7 @@ if !exists("g:netrw_banner")
endif
let s:netrw_up = ''
-nnoremap <silent> <Plug>VinegarUp :call <SID>opendir('edit')<CR>
+nnoremap <silent> <Plug>VinegarUp :sil call <SID>opendir('edit')<CR>:echo ""<CR>
if empty(maparg('-', 'n'))
nmap - <Plug>VinegarUp
endif
Does it work for anyone else?