commit 399e9a4512fb9a400dfb5c4692cbbf95b5a88e0b
parent 2f95a6a651bcc388af466e7377ae3ded3cfcc035
Author: Hongbo Liu <hbliu@freewheel.tv>
Date: Thu, 26 Nov 2015 11:54:32 +0800
follow url silently in mac
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim
@@ -380,7 +380,7 @@ function! vimwiki#base#system_open_link(url) "{{{
execute 'silent ! start "Title" /B ' . url
endfunction
function! s:macunix_handler(url)
- execute '!open ' . shellescape(a:url, 1)
+ call system('open ' . shellescape(a:url).' &')
endfunction
function! s:linux_handler(url)
call system('xdg-open ' . shellescape(a:url).' &')