aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/spec.vim6
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'
+