From d5d9ae900be162fd4185c696dbb16e9b113b5a6e Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 7 Feb 2019 21:10:19 +0100 Subject: feat(osurl): use osurl for netrw (gx shortcut) --- plugin/spec.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugin/spec.vim') 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! +noremap gG :s!https://github.com/\(.*\)/\(issues\\|pull\)/\(\d\+\)!gh#\1#\3! + +" for netrw +let g:netrw_browsex_viewer='setsid osurl' + -- cgit