diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2019-02-07 21:10:19 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-03-28 16:51:56 +0100 |
commit | d5d9ae900be162fd4185c696dbb16e9b113b5a6e (patch) | |
tree | da710cb067b5a9a53b37d2c8c91ad5efbc8350db /plugin/spec.vim | |
parent | d26ff8dd104cc1181b364a9d32d378a59ee7ae64 (diff) | |
download | vim-suse-changes-d5d9ae900be162fd4185c696dbb16e9b113b5a6e.tar.gz |
feat(osurl): use osurl for netrw (gx shortcut)
Diffstat (limited to 'plugin/spec.vim')
-rw-r--r-- | plugin/spec.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/spec.vim b/plugin/spec.vim index 08e9082..894b5c4 100644 --- a/plugin/spec.vim +++ b/plugin/spec.vim @@ -1 +1,5 @@ -noremap gG :s!https://github.com/\(.*\)/issues/\(\d\+\)!gh#\1#\2!<CR> +noremap gG :s!https://github.com/\(.*\)/\(issues\\|pull\)/\(\d\+\)!gh#\1#\3!<CR> + +" for netrw +let g:netrw_browsex_viewer='setsid osurl' + |