From 1b7ca2f5e4f61c1b6e05f5e08c452e10811894b9 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 14 Nov 2019 17:58:30 +0100 Subject: feat(abbrevURL): gG can shorten launchpad URL as well --- plugin/spec.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/spec.vim b/plugin/spec.vim index b80378d..e8614ad 100644 --- a/plugin/spec.vim +++ b/plugin/spec.vim @@ -11,6 +11,7 @@ function! ReplaceURLs() s!https://bugzilla.suse.com/\(show_bug.cgi?id=\)\?\(\d*\)!bsc#\2!e s!https://jira.suse.\(com\|de\)/browse/\(\d*\)!jsc#\2!e s!https://bugs.python.org/issue\(\d\+\)!bpo#\1!e + s!https://bugs.launchpad.net/\([^/]\+\)/+bug/\(\d\+\)!lp#\2!e endfunction noremap gG :call ReplaceURLs() -- cgit