aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/spec.vim
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2021-05-02 17:53:21 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 17:04:04 +0100
commit3603938832a40cbf587966a480421dfd819ecbba (patch)
treee71d710674b56e56612ee9d455dd8de1e24eb693 /plugin/spec.vim
parent027f03aae02427dcbc6903531ce7428875c56f66 (diff)
downloadvim-suse-changes-3603938832a40cbf587966a480421dfd819ecbba.tar.gz
fix(plugin): move gx_remap functionality into separate file.
Diffstat (limited to 'plugin/spec.vim')
-rw-r--r--plugin/spec.vim18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugin/spec.vim b/plugin/spec.vim
index 67b63a6..2c7f667 100644
--- a/plugin/spec.vim
+++ b/plugin/spec.vim
@@ -1,19 +1 @@
noremap gG :,!abbrevURL<CR>
-
-" Doesn't work because of gh#vim/vim#4738
-let g:netrw_browsex_viewer='setsid osurl'
-
-" " This is just temporary workaround until the above issue is truly
-" " resolved.
-" function! OpenURLUnderCursor()
-" let s:uri = expand('<cword>')
-" echom "s:uri = " . s:uri
-" " let s:uri = matchstr(getline('.'), '[a-z]*(:\/\/\|#)[^ >,;()]*')
-" " let s:uri = shellescape(s:uri, 1)
-" " echom "s:uri = " . s:uri
-" if s:uri != ''
-" silent exec "!osurl '".s:uri."'"
-" :redraw!
-" endif
-" endfunction
-" nnoremap gx :call OpenURLUnderCursor()<CR>