From f28fe1ae436b1bd19643a706eadf08cb8a0a1676 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Wed, 4 Aug 2021 08:59:51 -0400 Subject: [PATCH] Fix: Links opening in qutebrowser multiple times #763 --- autoload/vimwiki/base.vim | 2 +- doc/vimwiki.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim index 3cbb534..03a2a21 100644 --- a/autoload/vimwiki/base.vim +++ b/autoload/vimwiki/base.vim @@ -331,7 +331,7 @@ function! vimwiki#base#system_open_link(url) abort call system('open ' . shellescape(a:url).' &') endfunction function! s:linux_handler(url) abort - call system('xdg-open ' . shellescape(a:url).' &') + call system('xdg-open ' . shellescape(a:url).' >/dev/null 2>&1 &') endfunction try if vimwiki#u#is_windows() diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt index de2a6e0..9e73d22 100644 --- a/doc/vimwiki.txt +++ b/doc/vimwiki.txt @@ -3923,6 +3923,7 @@ Contributors and their Github usernames in roughly chronological order: - Stefan Schuhbäck (@stefanSchuhbaeck) - Vinny Furia (@vinnyfuria) - paperbenni (@paperbenni) + - Lily Foster (@lilyinstarlight) ============================================================================== 16. Changelog *vimwiki-changelog* @@ -4024,6 +4025,7 @@ Fixed:~ * PR #1030: Allow overwriting insert mode mappings * PR #1057: Fix renaming, updating link, and exporting HTML subdir wrong Fix resolve subdir return wrong path in Windows + * Issue #763: Links opening in qutebrowser multiple times on Linux 2.5 (2020-05-26)~