From d26ff8dd104cc1181b364a9d32d378a59ee7ae64 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 7 Feb 2019 21:08:57 +0100 Subject: fix(plugin): add special mapping to convert GitHub URL into openSUSE abbreviation. --- plugin/spec.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/spec.vim b/plugin/spec.vim index 7184f0d..08e9082 100644 --- a/plugin/spec.vim +++ b/plugin/spec.vim @@ -1 +1 @@ -noremap K :call system("osurl " . expand("")) +noremap gG :s!https://github.com/\(.*\)/issues/\(\d\+\)!gh#\1#\2! -- cgit