commit 8231433bad541d4879a453c6d961c1864a22a8d3
parent 2f95a6a651bcc388af466e7377ae3ded3cfcc035
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Thu, 26 Nov 2015 09:32:51 +0100
Merge pull request #168 from hiberabyss/macurl
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).' &')