aboutsummaryrefslogtreecommitdiff
path: root/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim
diff options
context:
space:
mode:
authorLuca Saccarola <96259932+saccarosium@users.noreply.github.com>2025-02-20 13:10:13 +0100
committerGitHub <noreply@github.com>2025-02-20 12:10:13 +0000
commit4913b7895cdd3fffdf1521ffb0c13cdeb7c1d27e (patch)
tree3fc50d97ec615a638de600dfa03ce8bb22f225f0 /runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim
parentb0bbe25c4808158e8c806959e4d185244073647a (diff)
downloadrneovim-4913b7895cdd3fffdf1521ffb0c13cdeb7c1d27e.tar.gz
rneovim-4913b7895cdd3fffdf1521ffb0c13cdeb7c1d27e.tar.bz2
rneovim-4913b7895cdd3fffdf1521ffb0c13cdeb7c1d27e.zip
vim-patch:c729d6d: runtime: decouple Open and Launch commands and gx mapping from netrw (#32506)
closes: vim/vim#16494 fixes: #vim/vim#16486 https://github.com/vim/vim/commit/c729d6d154e097b439ff264b9736604824f4a5f4
Diffstat (limited to 'runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim')
-rw-r--r--runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim21
1 files changed, 0 insertions, 21 deletions
diff --git a/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim b/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim
index 8d10c00153..388a7f2ba3 100644
--- a/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim
+++ b/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim
@@ -20,12 +20,6 @@ let g:loaded_netrwPlugin = "v175"
let s:keepcpo = &cpo
set cpo&vim
-" Commands Launch/URL: {{{
-
-command -complete=shellcmd -nargs=1 Launch call netrw#Launch(trim(<q-args>))
-command -complete=file -nargs=1 Open call netrw#Open(trim(<q-args>))
-
-" }}}
" Local Browsing Autocmds: {{{
augroup FileExplorer
@@ -85,21 +79,6 @@ command! -bang NetrwClean call netrw#Clean(<bang>0)
" }}}
" Maps: {{{
-if !exists("g:netrw_nogx")
- if maparg('gx','n') == ""
- if !hasmapto('<Plug>NetrwBrowseX')
- nmap <unique> gx <Plug>NetrwBrowseX
- endif
- nno <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))<cr>
- endif
- if maparg('gx','x') == ""
- if !hasmapto('<Plug>NetrwBrowseXVis')
- xmap <unique> gx <Plug>NetrwBrowseXVis
- endif
- xno <silent> <Plug>NetrwBrowseXVis :<c-u>call netrw#BrowseXVis()<cr>
- endif
-endif
-
if exists("g:netrw_usetab") && g:netrw_usetab
if maparg('<c-tab>','n') == ""
nmap <unique> <c-tab> <Plug>NetrwShrink