diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2019-02-07 21:08:57 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-03-28 16:51:38 +0100 |
commit | d26ff8dd104cc1181b364a9d32d378a59ee7ae64 (patch) | |
tree | f6938c36fb2cf0bf3d9ab587cf1916cce224f3b0 /plugin/spec.vim | |
parent | a72a8114b896e8651fb6e9df97eb4559fcc4c26b (diff) | |
download | vim-suse-changes-d26ff8dd104cc1181b364a9d32d378a59ee7ae64.tar.gz |
fix(plugin): add special mapping to convert GitHub URL into openSUSE abbreviation.
Diffstat (limited to 'plugin/spec.vim')
-rw-r--r-- | plugin/spec.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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("<cword>"))<CR> +noremap gG :s!https://github.com/\(.*\)/issues/\(\d\+\)!gh#\1#\2!<CR> |