diff --git a/plugin/vinegar.vim b/plugin/vinegar.vim index f471141..4a0a480 100644 --- a/plugin/vinegar.vim +++ b/plugin/vinegar.vim @@ -26,6 +26,9 @@ if !exists("g:netrw_banner") endif let s:netrw_up = '' +" Vim's strlen works fine while netrw's Strlen is broken +if has("multi_byte") | let g:netrw_xstrlen = 0 | endif + nnoremap VinegarUp :call opendir('edit') if empty(maparg('-', 'n')) nmap - VinegarUp