aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/gx_remap.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/gx_remap.vim')
-rw-r--r--plugin/gx_remap.vim19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugin/gx_remap.vim b/plugin/gx_remap.vim
deleted file mode 100644
index 8d097f1..0000000
--- a/plugin/gx_remap.vim
+++ /dev/null
@@ -1,19 +0,0 @@
-" Doesn't work because of gh#vim/vim#4738
-" let g:netrw_browsex_viewer='setsid osurl'
-let g:netrw_nogx=1
-
-" This is just temporary workaround until the above issue is truly
-" resolved.
-" https://github.com/vim/vim/issues/4738#issuecomment-830820565
-" https://bugzilla.suse.com/show_bug.cgi?id=1173583
-" (https://bugzilla.suse.com/show_bug.cgi?id=1173583)
-" gh#vim/vim#4738
-function! OpenURLUnderCursor()
- let s:uri = expand('<cfile>')
- echom "s:uri = " . s:uri
- if s:uri != ''
- silent exec "!osurl '".s:uri."'"
- :redraw!
- endif
-endfunction
-nnoremap gx :call OpenURLUnderCursor()<CR>