diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-03 22:21:25 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-04 00:23:03 +0300 |
| commit | 2eae5db069dc171f74cd863487655f6a88e5384d (patch) | |
| tree | 2d9d05e09978a2a44acbfbb8d651f240df3ca052 /uvim/runtime/pack | |
| parent | 473d922faed49241a5d29d9e37dc4819cd512006 (diff) | |
| download | Project-Tick-2eae5db069dc171f74cd863487655f6a88e5384d.tar.gz Project-Tick-2eae5db069dc171f74cd863487655f6a88e5384d.zip | |
NOISSUE rebrand vim to MNV's not Vim
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'uvim/runtime/pack')
| -rw-r--r-- | uvim/runtime/pack/dist/opt/cfilter/plugin/cfilter.mnv (renamed from uvim/runtime/pack/dist/opt/cfilter/plugin/cfilter.vim) | 6 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/comment/autoload/comment.mnv (renamed from uvim/runtime/pack/dist/opt/comment/autoload/comment.vim) | 8 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/comment/doc/comment.txt | 24 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/comment/plugin/comment.mnv (renamed from uvim/runtime/pack/dist/opt/comment/plugin/comment.vim) | 6 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/dvorak/dvorak/disable.mnv (renamed from uvim/runtime/pack/dist/opt/dvorak/dvorak/disable.vim) | 0 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/dvorak/dvorak/enable.mnv (renamed from uvim/runtime/pack/dist/opt/dvorak/dvorak/enable.vim) | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/dvorak/plugin/dvorak.mnv (renamed from uvim/runtime/pack/dist/opt/dvorak/plugin/dvorak.vim) | 4 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editexisting/plugin/editexisting.mnv (renamed from uvim/runtime/pack/dist/opt/editexisting/plugin/editexisting.vim) | 18 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/.editorconfig | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/CONTRIBUTORS | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/LICENSE.PSF | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/README.md | 84 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig.mnv (renamed from uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig.vim) | 6 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core.mnv (renamed from uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core.vim) | 14 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/fnmatch.mnv (renamed from uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/fnmatch.vim) | 30 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/handler.mnv (renamed from uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/handler.vim) | 6 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/ini.mnv (renamed from uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/ini.vim) | 22 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/util.mnv (renamed from uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/util.vim) | 10 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt | 42 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/ftdetect/editorconfig.mnv (renamed from uvim/runtime/pack/dist/opt/editorconfig/ftdetect/editorconfig.vim) | 0 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/editorconfig/plugin/editorconfig.mnv (renamed from uvim/runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim) | 40 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helpcurwin/autoload/helpcurwin.mnv (renamed from uvim/runtime/pack/dist/opt/helpcurwin/autoload/helpcurwin.vim) | 10 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helpcurwin/doc/helpcurwin.txt | 12 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.mnv | 14 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim | 14 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helptoc/autoload/helptoc.mnv (renamed from uvim/runtime/pack/dist/opt/helptoc/autoload/helptoc.vim) | 46 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helptoc/doc/helptoc.txt | 66 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helptoc/doc/tags | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helptoc/plugin/helptoc.mnv | 5 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/helptoc/plugin/helptoc.vim | 5 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/hlyank/plugin/hlyank.mnv (renamed from uvim/runtime/pack/dist/opt/hlyank/plugin/hlyank.vim) | 4 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/justify/plugin/justify.mnv (renamed from uvim/runtime/pack/dist/opt/justify/plugin/justify.vim) | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/matchit/autoload/matchit.mnv (renamed from uvim/runtime/pack/dist/opt/matchit/autoload/matchit.vim) | 20 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/matchit/doc/matchit.txt | 52 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/matchit/doc/tags | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/matchit/plugin/matchit.mnv (renamed from uvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim) | 10 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/README.md | 118 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/autoload/netrw.mnv (renamed from uvim/runtime/pack/dist/opt/netrw/autoload/netrw.vim) | 168 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/autoload/netrw/fs.mnv (renamed from uvim/runtime/pack/dist/opt/netrw/autoload/netrw/fs.vim) | 6 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/autoload/netrw/msg.mnv (renamed from uvim/runtime/pack/dist/opt/netrw/autoload/netrw/msg.vim) | 22 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/autoload/netrw/os.mnv (renamed from uvim/runtime/pack/dist/opt/netrw/autoload/netrw/os.vim) | 12 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/autoload/netrw_gitignore.mnv (renamed from uvim/runtime/pack/dist/opt/netrw/autoload/netrw_gitignore.vim) | 4 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/doc/netrw.txt | 330 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.mnv (renamed from uvim/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim) | 46 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/netrw/syntax/netrw.mnv (renamed from uvim/runtime/pack/dist/opt/netrw/syntax/netrw.vim) | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/nohlsearch/plugin/nohlsearch.mnv (renamed from uvim/runtime/pack/dist/opt/nohlsearch/plugin/nohlsearch.vim) | 2 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/osc52/autoload/osc52.mnv (renamed from uvim/runtime/pack/dist/opt/osc52/autoload/osc52.vim) | 6 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/osc52/doc/osc52.txt | 26 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/osc52/plugin/osc52.mnv (renamed from uvim/runtime/pack/dist/opt/osc52/plugin/osc52.vim) | 16 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/shellmenu/plugin/shellmenu.mnv (renamed from uvim/runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim) | 6 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/swapmouse/plugin/swapmouse.mnv (renamed from uvim/runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim) | 0 | ||||
| -rw-r--r-- | uvim/runtime/pack/dist/opt/termdebug/plugin/termdebug.mnv (renamed from uvim/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim) | 14 |
52 files changed, 685 insertions, 685 deletions
diff --git a/uvim/runtime/pack/dist/opt/cfilter/plugin/cfilter.vim b/uvim/runtime/pack/dist/opt/cfilter/plugin/cfilter.mnv index 7a71de4764..36e33d5a1e 100644 --- a/uvim/runtime/pack/dist/opt/cfilter/plugin/cfilter.vim +++ b/uvim/runtime/pack/dist/opt/cfilter/plugin/cfilter.mnv @@ -1,6 +1,6 @@ -vim9script +mnv9script -# cfilter.vim: Plugin to filter entries from a quickfix/location list +# cfilter.mnv: Plugin to filter entries from a quickfix/location list # Last Change: August 16, 2023 # Maintainer: Yegappan Lakshmanan (yegappan AT yahoo DOT com) # Version: 2.0 @@ -69,4 +69,4 @@ enddef command! -nargs=+ -bang Cfilter Qf_filter(true, <q-args>, <q-bang>) command! -nargs=+ -bang Lfilter Qf_filter(false, <q-args>, <q-bang>) -# vim: shiftwidth=2 sts=2 expandtab +# mnv: shiftwidth=2 sts=2 expandtab diff --git a/uvim/runtime/pack/dist/opt/comment/autoload/comment.vim b/uvim/runtime/pack/dist/opt/comment/autoload/comment.mnv index 74e091c358..5adf1aecba 100644 --- a/uvim/runtime/pack/dist/opt/comment/autoload/comment.vim +++ b/uvim/runtime/pack/dist/opt/comment/autoload/comment.mnv @@ -1,12 +1,12 @@ -vim9script +mnv9script # Maintainer: Maxim Kim <habamax@gmail.com> # Last Update: 2025-06-13 # # Toggle comments # Usage: -# Add following mappings to vimrc: -# import autoload 'dist/comment.vim' +# Add following mappings to mnvrc: +# import autoload 'dist/comment.mnv' # nnoremap <silent> <expr> gc comment.Toggle() # xnoremap <silent> <expr> gc comment.Toggle() # nnoremap <silent> <expr> gcc comment.Toggle() .. '_' @@ -80,7 +80,7 @@ enddef # Comment text object # Usage: -# import autoload 'dist/comment.vim' +# import autoload 'dist/comment.mnv' # onoremap <silent>ic <scriptcmd>comment.ObjComment(v:true)<CR> # onoremap <silent>ac <scriptcmd>comment.ObjComment(v:false)<CR> # xnoremap <silent>ic <esc><scriptcmd>comment.ObjComment(v:true)<CR> diff --git a/uvim/runtime/pack/dist/opt/comment/doc/comment.txt b/uvim/runtime/pack/dist/opt/comment/doc/comment.txt index 2286f07851..faac4bbd06 100644 --- a/uvim/runtime/pack/dist/opt/comment/doc/comment.txt +++ b/uvim/runtime/pack/dist/opt/comment/doc/comment.txt @@ -1,7 +1,7 @@ -*comment.txt* For Vim version 9.1. Last change: 2025 Jun 22 +*comment.txt* For MNV version 9.1. Last change: 2025 Jun 22 - VIM REFERENCE MANUAL + MNV REFERENCE MANUAL Commenting and un-commenting text. @@ -9,7 +9,7 @@ Commenting and un-commenting text. See |comment-install| on how to activate this package. -The comment.vim package, allows to toggle comments for a single line, a range +The comment.mnv package, allows to toggle comments for a single line, a range of lines or a selected text object. It defines the following mappings: *o_gc* @@ -51,26 +51,26 @@ will be commented out. Blank and empty lines are ignored. The value of 'commentstring' is the same for the entire buffer and determined by its filetype (|filetypes|). To adapt it within the buffer for embedded languages, you can use a plug-in such as -https://github.com/suy/vim-context-commentstring. +https://github.com/suy/mnv-context-commentstring. The comment marker will always be padded with blanks whether or not the 'commentstring' value contains whitespace around "%s". If the mapping does not seem to work (or uses wrong comment markers), it might be because of several reasons: -- the filetype is not detected by Vim, see |new-filetype|, +- the filetype is not detected by MNV, see |new-filetype|, - filetype plugins are not enabled, see |:filetype-plugin-on| or - the filetype plugin does not set the (correct) 'commentstring' option. You can simply configure this using the following autocommand (e.g. for legacy -Vim script): > +MNV script): > - autocmd Filetype vim :setlocal commentstring="%s + autocmd Filetype mnv :setlocal commentstring="%s -This example sets the " as start of a comment for legacy Vim script. For Vim9 +This example sets the " as start of a comment for legacy MNV script. For MNV9 script, you would instead use the "#" char: > - autocmd Filetype vim :setlocal commentstring=#\ %s + autocmd Filetype mnv :setlocal commentstring=#\ %s ============================================================================== Options: @@ -87,7 +87,7 @@ Options: target specific filetype(s). *g:comment_mappings* - Set to false to disable the default keyboard mappings, e.g. in your vimrc + Set to false to disable the default keyboard mappings, e.g. in your mnvrc > let g:comment_mappings = v:false < @@ -115,7 +115,7 @@ keyboard mappings. Operator pending and visual modes, mapped to ac by default The default keyboard mappings are shown below, you can copy these if you wish -to customise them in your vimrc: +to customise them in your mnvrc: > nmap gc <Plug>(comment-toggle) xmap gc <Plug>(comment-toggle) @@ -128,4 +128,4 @@ to customise them in your vimrc: xmap ac <Plug>(comment-text-object-outer) < ============================================================================== -vim:tw=78:ts=8:fo=tcq2:ft=help: +mnv:tw=78:ts=8:fo=tcq2:ft=help: diff --git a/uvim/runtime/pack/dist/opt/comment/plugin/comment.vim b/uvim/runtime/pack/dist/opt/comment/plugin/comment.mnv index 62817ddfe0..0ccf215d50 100644 --- a/uvim/runtime/pack/dist/opt/comment/plugin/comment.vim +++ b/uvim/runtime/pack/dist/opt/comment/plugin/comment.mnv @@ -1,10 +1,10 @@ -vim9script +mnv9script # Maintainer: Maxim Kim <habamax@gmail.com> # Last Update: 2025 Mar 21 -# 2025 Jun 22 by Vim Project: add <Plug> mappings #17563 +# 2025 Jun 22 by MNV Project: add <Plug> mappings #17563 -import autoload 'comment.vim' +import autoload 'comment.mnv' nnoremap <silent> <expr> <Plug>(comment-toggle) comment.Toggle() xnoremap <silent> <expr> <Plug>(comment-toggle) comment.Toggle() diff --git a/uvim/runtime/pack/dist/opt/dvorak/dvorak/disable.vim b/uvim/runtime/pack/dist/opt/dvorak/dvorak/disable.mnv index 1e9b0702ff..1e9b0702ff 100644 --- a/uvim/runtime/pack/dist/opt/dvorak/dvorak/disable.vim +++ b/uvim/runtime/pack/dist/opt/dvorak/dvorak/disable.mnv diff --git a/uvim/runtime/pack/dist/opt/dvorak/dvorak/enable.vim b/uvim/runtime/pack/dist/opt/dvorak/dvorak/enable.mnv index 8ff363fe97..e62a9b22e0 100644 --- a/uvim/runtime/pack/dist/opt/dvorak/dvorak/enable.vim +++ b/uvim/runtime/pack/dist/opt/dvorak/dvorak/enable.mnv @@ -1,7 +1,7 @@ " Dvorak keyboard, only in Insert mode. " " Change "inoremap" to "map!" to also use in Ex mode. -" Also change disable.vim then: "iunmap" to "unmap!". +" Also change disable.mnv then: "iunmap" to "unmap!". " " You may want to add a list of map's too. diff --git a/uvim/runtime/pack/dist/opt/dvorak/plugin/dvorak.vim b/uvim/runtime/pack/dist/opt/dvorak/plugin/dvorak.mnv index c8d5d5c79f..cc649b1041 100644 --- a/uvim/runtime/pack/dist/opt/dvorak/plugin/dvorak.vim +++ b/uvim/runtime/pack/dist/opt/dvorak/plugin/dvorak.mnv @@ -10,7 +10,7 @@ endif let g:loaded_dvorak_plugin = 1 " Key to go into dvorak mode: -map ,d :runtime dvorak/enable.vim<CR> +map ,d :runtime dvorak/enable.mnv<CR> " Key to get out of dvorak mode: -map ,q :runtime dvorak/disable.vim<CR> +map ,q :runtime dvorak/disable.mnv<CR> diff --git a/uvim/runtime/pack/dist/opt/editexisting/plugin/editexisting.vim b/uvim/runtime/pack/dist/opt/editexisting/plugin/editexisting.mnv index 52e80c142e..47e060f842 100644 --- a/uvim/runtime/pack/dist/opt/editexisting/plugin/editexisting.vim +++ b/uvim/runtime/pack/dist/opt/editexisting/plugin/editexisting.mnv @@ -1,18 +1,18 @@ -" Vim Plugin: Edit the file with an existing Vim if possible -" Maintainer: The Vim Project <https://github.com/vim/vim> +" MNV Plugin: Edit the file with an existing MNV if possible +" Maintainer: The MNV Project <https://github.com/Project-Tick/Project-Tick> " Last Change: 2023 Aug 13 -" To use add ":packadd! editexisting" in your vimrc file. +" To use add ":packadd! editexisting" in your mnvrc file. " This plugin serves two purposes: " 1. On startup, if we were invoked with one file name argument and the file -" is not modified then try to find another Vim instance that is editing +" is not modified then try to find another MNV instance that is editing " this file. If there is one then bring it to the foreground and exit. " 2. When a file is edited and a swap file exists for it, try finding that -" other Vim and bring it to the foreground. Requires Vim 7, because it +" other MNV and bring it to the foreground. Requires MNV 7, because it " uses the SwapExists autocommand event. -" Function that finds the Vim instance that is editing "filename" and brings +" Function that finds the MNV instance that is editing "filename" and brings " it to the foreground. func s:EditElsewhere(filename) let fname_esc = substitute(a:filename, "'", "''", "g") @@ -54,7 +54,7 @@ func s:EditElsewhere(filename) endif endif - if !(has('vim_starting') && has('gui_running') && has('gui_win32')) + if !(has('mnv_starting') && has('gui_running') && has('gui_win32')) " Tell the user what is happening. Not when the GUI is starting " though, it would result in a message box. echomsg "File is being edited by " . servername @@ -62,7 +62,7 @@ func s:EditElsewhere(filename) endif return 'q' endif - catch /^Vim\%((\a\+)\)\=:E241:/ + catch /^MNV\%((\a\+)\)\=:E241:/ " Unable to send to this server, ignore it. endtry endwhile @@ -70,7 +70,7 @@ func s:EditElsewhere(filename) endfunc " When the plugin is loaded and there is one file name argument: Find another -" Vim server that is editing this file right now. +" MNV server that is editing this file right now. if argc() == 1 && !&modified if s:EditElsewhere(expand("%:p")) == 'q' quit diff --git a/uvim/runtime/pack/dist/opt/editorconfig/.editorconfig b/uvim/runtime/pack/dist/opt/editorconfig/.editorconfig index 7eed9e111d..bb956313c0 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/.editorconfig +++ b/uvim/runtime/pack/dist/opt/editorconfig/.editorconfig @@ -5,7 +5,7 @@ end_of_line = lf charset = utf-8 max_line_length = 80 -[*.{vim,sh}] +[*.{mnv,sh}] indent_style = space indent_size = 4 insert_final_newline = true diff --git a/uvim/runtime/pack/dist/opt/editorconfig/CONTRIBUTORS b/uvim/runtime/pack/dist/opt/editorconfig/CONTRIBUTORS index b799668c87..8165d7d75d 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/CONTRIBUTORS +++ b/uvim/runtime/pack/dist/opt/editorconfig/CONTRIBUTORS @@ -1,4 +1,4 @@ -Contributors to the EditorConfig Vim Plugin: +Contributors to the EditorConfig MNV Plugin: Hong Xu Trey Hunner diff --git a/uvim/runtime/pack/dist/opt/editorconfig/LICENSE.PSF b/uvim/runtime/pack/dist/opt/editorconfig/LICENSE.PSF index 36eb8e0d3b..d2c635c519 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/LICENSE.PSF +++ b/uvim/runtime/pack/dist/opt/editorconfig/LICENSE.PSF @@ -1,4 +1,4 @@ -Some code in editorconfig-vim is derived from code licensed under the +Some code in editorconfig-mnv is derived from code licensed under the PSF license. The following is the text of that license, retrieved 2019-05-05 from https://docs.python.org/2.6/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python diff --git a/uvim/runtime/pack/dist/opt/editorconfig/README.md b/uvim/runtime/pack/dist/opt/editorconfig/README.md index 961c9ae2d2..7b7a4a95d2 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/README.md +++ b/uvim/runtime/pack/dist/opt/editorconfig/README.md @@ -1,10 +1,10 @@ -# EditorConfig Vim Plugin +# EditorConfig MNV Plugin -[](https://travis-ci.org/editorconfig/editorconfig-vim) -[](https://ci.appveyor.com/project/cxw42/editorconfig-vim) +[](https://travis-ci.org/editorconfig/editorconfig-mnv) +[](https://ci.appveyor.com/project/cxw42/editorconfig-mnv) -This is an [EditorConfig][] plugin for Vim. This plugin can be found on both -[GitHub][] and [Vim online][]. +This is an [EditorConfig][] plugin for MNV. This plugin can be found on both +[GitHub][] and [MNV online][]. ## Installation @@ -12,46 +12,46 @@ To install this plugin, you can use one of the following ways: ### Install with the archive -Download the [archive][] and extract it into your Vim runtime directory -(`~/.vim` on UNIX/Linux and `$VIM_INSTALLATION_FOLDER\vimfiles` on windows). +Download the [archive][] and extract it into your MNV runtime directory +(`~/.mnv` on UNIX/Linux and `$MNV_INSTALLATION_FOLDER\mnvfiles` on windows). You should have 4 sub-directories in this runtime directory now: "autoload", "doc", "ftdetect" and "plugin". -### Install as Vim8 plugin +### Install as MNV8 plugin -Install as a Vim 8 plugin. Note `local` can be any name, but some path -element must be present. On Windows, instead of `~/.vim` use -`$VIM_INSTALLATION_FOLDER\vimfiles`. +Install as a MNV 8 plugin. Note `local` can be any name, but some path +element must be present. On Windows, instead of `~/.mnv` use +`$MNV_INSTALLATION_FOLDER\mnvfiles`. ```shell -mkdir -p ~/.vim/pack/local/start -cd ~/.vim/pack/local/start -git clone https://github.com/editorconfig/editorconfig-vim.git +mkdir -p ~/.mnv/pack/local/start +cd ~/.mnv/pack/local/start +git clone https://github.com/editorconfig/editorconfig-mnv.git ``` ### Install with [pathogen][] Use pathogen (the git repository of this plugin is -https://github.com/editorconfig/editorconfig-vim.git) +https://github.com/editorconfig/editorconfig-mnv.git) ### Install with [Vundle][] -Use Vundle by adding to your `.vimrc` Vundle plugins section: +Use Vundle by adding to your `.mnvrc` Vundle plugins section: -```viml -Plugin 'editorconfig/editorconfig-vim' +```mnvl +Plugin 'editorconfig/editorconfig-mnv' ``` Then call `:PluginInstall`. -### Install with [vim-plug][] +### Install with [mnv-plug][] -Use vim-plug by adding to your `.vimrc` in your plugin section: +Use mnv-plug by adding to your `.mnvrc` in your plugin section: -```viml -Plug 'editorconfig/editorconfig-vim' +```mnvl +Plug 'editorconfig/editorconfig-mnv' ``` -Source your `.vimrc` by calling `:source $MYVIMRC`. +Source your `.mnvrc` by calling `:source $MYMNVRC`. Then call `:PlugInstall`. @@ -64,14 +64,14 @@ core separately. ## Supported properties -The EditorConfig Vim plugin supports the following EditorConfig [properties][]: +The EditorConfig MNV plugin supports the following EditorConfig [properties][]: * `indent_style` * `indent_size` * `tab_width` * `end_of_line` * `charset` -* `insert_final_newline` (Feature `+fixendofline`, available on Vim 7.4.785+, +* `insert_final_newline` (Feature `+fixendofline`, available on MNV 7.4.785+, or [PreserveNoEOL][] is required for this property) * `trim_trailing_whitespace` * `max_line_length` @@ -81,26 +81,26 @@ The EditorConfig Vim plugin supports the following EditorConfig [properties][]: The supported options are documented in [editorconfig.txt][] and can be viewed by executing the following: `:help editorconfig`. You may -need to execute `:helptags ALL` so that Vim is aware of editorconfig.txt. +need to execute `:helptags ALL` so that MNV is aware of editorconfig.txt. ### Excluded patterns To ensure that this plugin works well with [Tim Pope's fugitive][], use the following patterns array: -```viml +```mnvl let g:EditorConfig_exclude_patterns = ['fugitive://.*'] ``` If you wanted to avoid loading EditorConfig for any remote files over ssh: -```viml +```mnvl let g:EditorConfig_exclude_patterns = ['scp://.*'] ``` Of course these two items could be combined into the following: -```viml +```mnvl let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*'] ``` @@ -111,7 +111,7 @@ You can disable this plugin for a specific buffer by setting plugin for all buffers of a specific filetype. For example, to disable EditorConfig for all git commit messages (filetype `gitcommit`): -```viml +```mnvl au FileType gitcommit let b:EditorConfig_disable = 1 ``` @@ -119,10 +119,10 @@ au FileType gitcommit let b:EditorConfig_disable = 1 In very rare cases, you might need to override some project-specific EditorConfig rules in global -or local vimrc in some cases, e.g., to resolve conflicts of trailing whitespace +or local mnvrc in some cases, e.g., to resolve conflicts of trailing whitespace trimming and buffer autosaving. This is not recommended, but you can: -```viml +```mnvl let g:EditorConfig_disable_rules = ['trim_trailing_whitespace'] ``` @@ -134,15 +134,15 @@ Feel free to submit bugs, feature requests, and other issues to the [issue tracker][]. Be sure you have read the [contribution guidelines][]! [EditorConfig]: http://editorconfig.org -[GitHub]: https://github.com/editorconfig/editorconfig-vim -[PreserveNoEOL]: http://www.vim.org/scripts/script.php?script_id=4550 -[Tim Pope's fugitive]: https://github.com/tpope/vim-fugitive -[Vim online]: http://www.vim.org/scripts/script.php?script_id=3934 -[Vundle]: https://github.com/gmarik/Vundle.vim -[archive]: https://github.com/editorconfig/editorconfig-vim/archive/master.zip +[GitHub]: https://github.com/editorconfig/editorconfig-mnv +[PreserveNoEOL]: http://www.mnv.org/scripts/script.php?script_id=4550 +[Tim Pope's fugitive]: https://github.com/tpope/mnv-fugitive +[MNV online]: http://www.mnv.org/scripts/script.php?script_id=3934 +[Vundle]: https://github.com/gmarik/Vundle.mnv +[archive]: https://github.com/editorconfig/editorconfig-mnv/archive/master.zip [contribution guidelines]: https://github.com/editorconfig/editorconfig/blob/master/CONTRIBUTING.md#submitting-an-issue -[issue tracker]: https://github.com/editorconfig/editorconfig-vim/issues -[pathogen]: https://github.com/tpope/vim-pathogen +[issue tracker]: https://github.com/editorconfig/editorconfig-mnv/issues +[pathogen]: https://github.com/tpope/mnv-pathogen [properties]: http://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties -[editorconfig.txt]: https://github.com/editorconfig/editorconfig-vim/blob/master/doc/editorconfig.txt -[vim-plug]: https://github.com/junegunn/vim-plug +[editorconfig.txt]: https://github.com/editorconfig/editorconfig-mnv/blob/master/doc/editorconfig.txt +[mnv-plug]: https://github.com/junegunn/mnv-plug diff --git a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig.vim b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig.mnv index fd97f69bd2..285391c1d4 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig.vim +++ b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig.mnv @@ -1,4 +1,4 @@ -" autoload/editorconfig.vim: EditorConfig native Vim script plugin +" autoload/editorconfig.mnv: EditorConfig native MNV script plugin " Copyright (c) 2011-2019 EditorConfig Team " All rights reserved. " @@ -29,7 +29,7 @@ if v:version < 700 endif let s:saved_cpo = &cpo -set cpo&vim +set cpo&mnv " {{{1 variables let s:hook_list = [] @@ -57,4 +57,4 @@ endfunction let &cpo = s:saved_cpo unlet! s:saved_cpo -" vim: fdm=marker fdc=3 +" mnv: fdm=marker fdc=3 diff --git a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core.vim b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core.mnv index 6885e17cf0..a7b7d924ba 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core.vim +++ b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core.mnv @@ -1,5 +1,5 @@ -" autoload/editorconfig_core.vim: top-level functions for -" editorconfig-core-vimscript and editorconfig-vim. +" autoload/editorconfig_core.mnv: top-level functions for +" editorconfig-core-mnvscript and editorconfig-mnv. " Copyright (c) 2018-2020 EditorConfig Team, including Chris White {{{1 " All rights reserved. @@ -26,18 +26,18 @@ " POSSIBILITY OF SUCH DAMAGE. }}}1 let s:saved_cpo = &cpo -set cpo&vim +set cpo&mnv " Variables {{{1 " Note: we create this variable in every script that accesses it. Normally, I -" would put this in plugin/editorconfig.vim. However, in some of my tests, +" would put this in plugin/editorconfig.mnv. However, in some of my tests, " the command-line testing environment did not load plugin/* in the normal " way. Therefore, I do the check everywhere so I don't have to special-case " the command line. -if !exists('g:editorconfig_core_vimscript_debug') - let g:editorconfig_core_vimscript_debug = 0 +if !exists('g:editorconfig_core_mnvscript_debug') + let g:editorconfig_core_mnvscript_debug = 0 endif " }}}1 @@ -92,7 +92,7 @@ function! editorconfig_core#currbuf_cli(names, job) " out_name, in_name, ... execute 'redir! > ' . fnameescape(a:names.dump) echom 'Names: ' . string(a:names) echom 'Job: ' . string(l:job) - let g:editorconfig_core_vimscript_debug = 1 + let g:editorconfig_core_mnvscript_debug = 1 endif if type(a:names['target']) == type([]) diff --git a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/fnmatch.vim b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/fnmatch.mnv index ef9ced9fdc..2aa5f31cf2 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/fnmatch.vim +++ b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/fnmatch.mnv @@ -1,5 +1,5 @@ -" autoload/editorconfig_core/fnmatch.vim: Globbing for -" editorconfig-vim. Ported from the Python core's fnmatch.py. +" autoload/editorconfig_core/fnmatch.mnv: Globbing for +" editorconfig-mnv. Ported from the Python core's fnmatch.py. " Copyright (c) 2012-2019 EditorConfig Team {{{1 " All rights reserved. @@ -37,11 +37,11 @@ "corresponding to PATTERN. (It does not compile it.) let s:saved_cpo = &cpo -set cpo&vim +set cpo&mnv " variables {{{1 -if !exists('g:editorconfig_core_vimscript_debug') - let g:editorconfig_core_vimscript_debug = 0 +if !exists('g:editorconfig_core_mnvscript_debug') + let g:editorconfig_core_mnvscript_debug = 0 endif " }}}1 " === Regexes =========================================================== {{{1 @@ -147,7 +147,7 @@ function! editorconfig_core#fnmatch#translate(pat, ...) let l:nested = a:1 endif - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom '- fnmatch#translate: pattern ' . a:pat echom printf( \ '- %d chars', strlen(substitute(a:pat, ".", "x", "g"))) @@ -156,7 +156,7 @@ function! editorconfig_core#fnmatch#translate(pat, ...) let l:pat = a:pat " TODO remove if we wind up not needing this - " Note: the Python sets MULTILINE and DOTALL, but Vim has \_. + " Note: the Python sets MULTILINE and DOTALL, but MNV has \_. " instead of DOTALL, and \_^ / \_$ instead of MULTILINE. let l:is_escaped = 0 @@ -166,12 +166,12 @@ function! editorconfig_core#fnmatch#translate(pat, ...) let l:right_braces=[] call substitute(l:pat, s:LEFT_BRACE, '\=add(l:left_braces, 1)', 'g') call substitute(l:pat, s:RIGHT_BRACE, '\=add(l:right_braces, 1)', 'g') - " Thanks to http://jeromebelleman.gitlab.io/posts/productivity/vimsub/ + " Thanks to http://jeromebelleman.gitlab.io/posts/productivity/mnvsub/ let l:matching_braces = (len(l:left_braces) == len(l:right_braces)) " Unicode support (#2). Indexing l:pat[l:index] returns bytes, per - " https://github.com/neovim/neovim/issues/68#issue-28114985 . - " Instead, use split() per vimdoc to break the input string into an + " https://github.com/neomnv/neomnv/issues/68#issue-28114985 . + " Instead, use split() per mnvdoc to break the input string into an " array of *characters*, and process that. let l:characters = split(l:pat, '\zs') @@ -186,7 +186,7 @@ function! editorconfig_core#fnmatch#translate(pat, ...) let l:current_char = l:characters[l:index] let l:index += 1 -" if g:editorconfig_core_vimscript_debug +" if g:editorconfig_core_mnvscript_debug " echom ' - fnmatch#translate: ' . l:current_char . '@' . " \ (l:index-1) . '; result ' . l:result " endif @@ -383,7 +383,7 @@ function! editorconfig_core#fnmatch#fnmatch(name, path, pattern) let l:pattern = a:pattern endif - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom '- fnmatch#fnmatch testing <' . l:localname . '> against <' . \ l:pattern . '> wrt <' . l:path . '>' endif @@ -404,7 +404,7 @@ function! editorconfig_core#fnmatch#fnmatchcase(name, path, pattern) let l:escaped_path = s:re_escape(a:path) let l:regex = '\v' . l:escaped_path . l:regex - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom '- fnmatch#fnmatchcase: regex ' . l:regex call s:dump_chars(l:regex) echom '- fnmatch#fnmatchcase: checking ' . a:name @@ -413,7 +413,7 @@ function! editorconfig_core#fnmatch#fnmatchcase(name, path, pattern) let l:match_groups = matchlist(a:name, l:regex)[1:] " [0] = full match - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom printf(' Got %d matches', len(l:match_groups)) endif @@ -443,7 +443,7 @@ function! editorconfig_core#fnmatch#fnmatchcase(name, path, pattern) endif endfor - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom '- fnmatch#fnmatchcase: ' . (pattern_matched ? 'matched' : 'did not match') endif diff --git a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/handler.vim b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/handler.mnv index c9a66e1694..ed3847f78e 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/handler.vim +++ b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/handler.mnv @@ -1,5 +1,5 @@ -" autoload/editorconfig_core/handler.vim: Main worker for -" editorconfig-core-vimscript and editorconfig-vim. +" autoload/editorconfig_core/handler.mnv: Main worker for +" editorconfig-core-mnvscript and editorconfig-mnv. " Modified from the Python core's handler.py. " Copyright (c) 2012-2019 EditorConfig Team {{{1 @@ -27,7 +27,7 @@ " POSSIBILITY OF SUCH DAMAGE. }}}1 let s:saved_cpo = &cpo -set cpo&vim +set cpo&mnv " Return full filepath for filename in each directory in and above path. {{{1 " Input path must be an absolute path. diff --git a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/ini.vim b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/ini.mnv index 73716969e7..381f391fef 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/ini.vim +++ b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/ini.mnv @@ -1,5 +1,5 @@ -" autoload/editorconfig_core/ini.vim: Config-file parser for -" editorconfig-core-vimscript and editorconfig-vim. +" autoload/editorconfig_core/ini.mnv: Config-file parser for +" editorconfig-core-mnvscript and editorconfig-mnv. " Modified from the Python core's ini.py. " Copyright (c) 2012-2019 EditorConfig Team {{{2 @@ -27,11 +27,11 @@ " POSSIBILITY OF SUCH DAMAGE. }}}2 let s:saved_cpo = &cpo -set cpo&vim +set cpo&mnv " variables {{{2 -if !exists('g:editorconfig_core_vimscript_debug') - let g:editorconfig_core_vimscript_debug = 0 +if !exists('g:editorconfig_core_mnvscript_debug') + let g:editorconfig_core_mnvscript_debug = 0 endif " }}}2 " === Constants, including regexes ====================================== {{{2 @@ -76,7 +76,7 @@ function! editorconfig_core#ini#read_ini_file(config_filename, target_filename) endif let result = s:parse(a:config_filename, a:target_filename, l:lines) catch - " rethrow, but with a prefix since throw 'Vim...' fails. + " rethrow, but with a prefix since throw 'MNV...' fails. throw 'Could not read editorconfig file at ' . v:throwpoint . ': ' . string(v:exception) endtry @@ -118,7 +118,7 @@ function! s:parse(config_filename, target_filename, lines) endif " is it a section header? - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom "Header? <" . l:line . ">" endif @@ -134,7 +134,7 @@ function! s:parse(config_filename, target_filename, lines) \ a:config_filename, a:target_filename, l:sectname) endif - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom 'In section ' . l:sectname . ', which ' . \ (l:matching_section ? 'matches' : 'does not match') \ ' file ' . a:target_filename . ' (config ' . @@ -151,7 +151,7 @@ function! s:parse(config_filename, target_filename, lines) let l:optname = mo[1] let l:optval = mo[3] - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom printf('Saw raw opt <%s>=<%s>', l:optname, l:optval) endif @@ -164,7 +164,7 @@ function! s:parse(config_filename, target_filename, lines) if !l:in_section && optname ==? 'root' let l:is_root = (optval ==? 'true') endif - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom printf('Saw opt <%s>=<%s>', l:optname, l:optval) endif @@ -233,7 +233,7 @@ function! s:matches_filename(config_filename, target_filename, glob) let l:glob = '**/' . l:glob endif - if g:editorconfig_core_vimscript_debug + if g:editorconfig_core_mnvscript_debug echom '- ini#matches_filename: checking <' . a:target_filename . \ '> against <' . l:glob . '> with respect to config file <' . \ a:config_filename . '>' diff --git a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/util.vim b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/util.mnv index c4df04af17..e7e13a0b2f 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/util.vim +++ b/uvim/runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/util.mnv @@ -1,4 +1,4 @@ -" util.vim: part of editorconfig-core-vimscript and editorconfig-vim. +" util.mnv: part of editorconfig-core-mnvscript and editorconfig-mnv. " Copyright (c) 2018-2019 EditorConfig Team, including Chris White {{{1 " All rights reserved. " @@ -24,11 +24,11 @@ " POSSIBILITY OF SUCH DAMAGE. }}}1 let s:saved_cpo = &cpo -set cpo&vim +set cpo&mnv " A verbatim copy of ingo#fs#path#Separator() {{{1 -" from https://github.com/vim-scripts/ingo-library/blob/558132e2221db3af26dc2f2c6756d092d48a459f/autoload/ingo/fs/path.vim -" distributed under the Vim license. +" from https://github.com/mnv-scripts/ingo-library/blob/558132e2221db3af26dc2f2c6756d092d48a459f/autoload/ingo/fs/path.mnv +" distributed under the MNV license. function! editorconfig_core#util#Separator() return (exists('+shellslash') && ! &shellslash ? '\' : '/') endfunction " }}}1 @@ -48,7 +48,7 @@ endfunction " }}}1 " is_win() by xolox {{{1 " The following function is modified from -" https://github.com/xolox/vim-misc/blob/master/autoload/xolox/misc/os.vim +" https://github.com/xolox/mnv-misc/blob/master/autoload/xolox/misc/os.mnv " Copyright (c) 2015 Peter Odding <peter@peterodding.com> " " Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/uvim/runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt b/uvim/runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt index 87355c008e..581fd2d4f6 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt +++ b/uvim/runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt @@ -1,9 +1,9 @@ -*editorconfig.txt* EditorConfig plugin for vim. +*editorconfig.txt* EditorConfig plugin for mnv. File: editorconfig.txt Version: 1.1.1 Maintainer: EditorConfig Team <http://editorconfig.org> -Description: EditorConfig vim plugin +Description: EditorConfig mnv plugin CONTENTS~ *editorconfig-contents* @@ -19,7 +19,7 @@ CONTENTS~ OVERVIEW~ *editorconfig-overview* ---------------------------------------------------------------------------- -This is the EditorConfig plugin for vim. +This is the EditorConfig plugin for mnv. INSTALLATION~ @@ -44,19 +44,19 @@ SETTINGS~ ---------------------------------------------------------------------------- *g:EditorConfig_core_mode* Specify the mode of EditorConfig core. Generally it is OK to leave this option -empty. Currently, the supported modes are "vim_core" (default) and +empty. Currently, the supported modes are "mnv_core" (default) and "external_command". - vim_core: Use the included Vim script EditorConfig Core. + mnv_core: Use the included MNV script EditorConfig Core. external_command: Run external EditorConfig Core. If "g:EditorConfig_core_mode" is not specified, this plugin will automatically -choose "vim_core". +choose "mnv_core". If you choose "external_command" mode, you must also set |g:EditorConfig_exec_path|. -Changes to "g:EditorConfig_core_mode" will not take effect until Vim +Changes to "g:EditorConfig_core_mode" will not take effect until MNV is restarted. *b:EditorConfig_disable* @@ -85,16 +85,16 @@ Example: Avoid loading EditorConfig for any remote files over ssh *g:EditorConfig_exec_path* The file path to the EditorConfig core executable. You can set this value in -your |vimrc| like this: +your |mnvrc| like this: > let g:EditorConfig_exec_path = 'Path to your EditorConfig Core executable' < The default value is empty. -If "g:EditorConfig_exec_path" is not set, the plugin will use the "vim_core" +If "g:EditorConfig_exec_path" is not set, the plugin will use the "mnv_core" mode regardless of the setting of |g:EditorConfig_core_mode|. -Changes to "g:EditorConfig_exec_path" will not take effect until Vim +Changes to "g:EditorConfig_exec_path" will not take effect until MNV is restarted. *g:EditorConfig_max_line_indicator* @@ -122,7 +122,7 @@ no max line indicator. when you do not want any indicator to be shown, but any value other than those listed above also work as "none". -To set this option, add any of the following lines to your |vimrc| file: +To set this option, add any of the following lines to your |mnvrc| file: > let g:EditorConfig_max_line_indicator = "line" let g:EditorConfig_max_line_indicator = "fill" @@ -150,16 +150,16 @@ max_line_length is set: This option defaults to 0. *g:EditorConfig_softtabstop_space* -When spaces are used for indent, Vim's 'softtabstop' feature will make the +When spaces are used for indent, MNV's 'softtabstop' feature will make the backspace key delete one indent level. If you turn off that feature (by setting the option to 0), only a single space will be deleted. This option defaults to 1, which enables 'softtabstop' and uses the 'shiftwidth' value for it. You can also set this to -1 to automatically follow -the current 'shiftwidth' value (since Vim 7.3.693). Or set this to [] if +the current 'shiftwidth' value (since MNV 7.3.693). Or set this to [] if EditorConfig should not touch 'softtabstop' at all. *g:EditorConfig_softtabstop_tab* -When tabs are used for indent, Vim's 'softtabstop' feature only applies to +When tabs are used for indent, MNV's 'softtabstop' feature only applies to backspacing over existing runs of spaces. This option defaults to 1, so backspace will delete one indent level worth of spaces; -1 does the same but automatically follows the current 'shiftwidth' @@ -178,18 +178,18 @@ ADVANCED~ *editorconfig-hook* *EditorConfig#AddNewHook()* While this plugin offers several builtin supported properties (as mentioned -here: https://github.com/editorconfig/editorconfig-vim#supported-properties), +here: https://github.com/editorconfig/editorconfig-mnv#supported-properties), we are also able to add our own hooks to support additional EditorConfig properties, including those not in the EditorConfig standard. For example, we are working on an Objective-C project, and all our "*.m" files should be -Objective-C source files. However, vim sometimes detect "*.m" files as MATLAB +Objective-C source files. However, mnv sometimes detect "*.m" files as MATLAB source files, which causes incorrect syntax highlighting, code indentation, -etc. To solve the case, we could write the following code into the |vimrc| +etc. To solve the case, we could write the following code into the |mnvrc| file: > function! FiletypeHook(config) - if has_key(a:config, 'vim_filetype') - let &filetype = a:config['vim_filetype'] + if has_key(a:config, 'mnv_filetype') + let &filetype = a:config['mnv_filetype'] endif return 0 " Return 0 to show no error happened @@ -200,7 +200,7 @@ file: And add the following code to your .editorconfig file: > [*.m] - vim_filetype = objc + mnv_filetype = objc < Then try to open an Objective-C file, you will find the |filetype| is set to "objc". @@ -235,4 +235,4 @@ License: POSSIBILITY OF SUCH DAMAGE. -vim:ft=help:tw=78:cc= +mnv:ft=help:tw=78:cc= diff --git a/uvim/runtime/pack/dist/opt/editorconfig/ftdetect/editorconfig.vim b/uvim/runtime/pack/dist/opt/editorconfig/ftdetect/editorconfig.mnv index d1f8e00a58..d1f8e00a58 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/ftdetect/editorconfig.vim +++ b/uvim/runtime/pack/dist/opt/editorconfig/ftdetect/editorconfig.mnv diff --git a/uvim/runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim b/uvim/runtime/pack/dist/opt/editorconfig/plugin/editorconfig.mnv index 914e7788ff..201aa42ca7 100644 --- a/uvim/runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim +++ b/uvim/runtime/pack/dist/opt/editorconfig/plugin/editorconfig.mnv @@ -1,4 +1,4 @@ -" plugin/editorconfig.vim: EditorConfig native Vim script plugin file +" plugin/editorconfig.mnv: EditorConfig native MNV script plugin file " Copyright (c) 2011-2019 EditorConfig Team " All rights reserved. " @@ -24,14 +24,14 @@ " POSSIBILITY OF SUCH DAMAGE. " -" check for Vim versions and duplicate script loading. +" check for MNV versions and duplicate script loading. if v:version < 700 || exists("g:loaded_EditorConfig") finish endif let g:loaded_EditorConfig = 1 let s:saved_cpo = &cpo -set cpo&vim +set cpo&mnv " variables {{{1 @@ -116,11 +116,11 @@ endfunction " }}}2 " Mode initialization functions {{{1 -function! s:InitializeVimCore() -" Initialize vim core. Returns 1 on failure; 0 on success +function! s:InitializeMNVCore() +" Initialize mnv core. Returns 1 on failure; 0 on success " At the moment, all we need to do is to check that it is installed. try - let l:vim_core_ver = editorconfig_core#version() + let l:mnv_core_ver = editorconfig_core#version() catch return 1 endtry @@ -152,23 +152,23 @@ function! s:Initialize() " Initialize the plugin. {{{1 " Returns truthy on error, falsy on success. if empty(s:editorconfig_core_mode) - let s:editorconfig_core_mode = 'vim_core' " Default core choice + let s:editorconfig_core_mode = 'mnv_core' " Default core choice endif if s:editorconfig_core_mode ==? 'external_command' if s:InitializeExternalCommand() echohl WarningMsg echo 'EditorConfig: Failed to initialize external_command mode. ' . - \ 'Falling back to vim_core mode.' + \ 'Falling back to mnv_core mode.' echohl None - let s:editorconfig_core_mode = 'vim_core' + let s:editorconfig_core_mode = 'mnv_core' endif endif - if s:editorconfig_core_mode ==? 'vim_core' - if s:InitializeVimCore() + if s:editorconfig_core_mode ==? 'mnv_core' + if s:InitializeMNVCore() echohl ErrorMsg - echo 'EditorConfig: Failed to initialize vim_core mode. ' . + echo 'EditorConfig: Failed to initialize mnv_core mode. ' . \ 'The plugin will not function.' echohl None return 1 @@ -178,7 +178,7 @@ function! s:Initialize() " Initialize the plugin. {{{1 " Nothing to do here, but this elseif is required to avoid " external_command falling into the else clause. - else " neither external_command nor vim_core + else " neither external_command nor mnv_core echohl ErrorMsg echo "EditorConfig: I don't know how to use mode " . s:editorconfig_core_mode echohl None @@ -221,7 +221,7 @@ function! s:UseConfigFiles(from_autocmd) abort " Apply config to the current buf call setbufvar(l:bufnr, 'editorconfig_tried', 1) " Only process normal buffers (do not treat help files as '.txt' files) - " When starting Vim with a directory, the buftype might not yet be set: + " When starting MNV with a directory, the buftype might not yet be set: " Therefore, also check if buffer_name is a directory. if index(['', 'acwrite'], &buftype) == -1 || isdirectory(l:buffer_name) return @@ -280,8 +280,8 @@ function! s:UseConfigFiles(from_autocmd) abort " Apply config to the current buf \ ' on file "' . l:buffer_name . '"' endif - if s:editorconfig_core_mode ==? 'vim_core' - if s:UseConfigFiles_VimCore(l:bufnr, l:buffer_name) == 0 + if s:editorconfig_core_mode ==? 'mnv_core' + if s:UseConfigFiles_MNVCore(l:bufnr, l:buffer_name) == 0 call setbufvar(l:bufnr, 'editorconfig_applied', 1) endif elseif s:editorconfig_core_mode ==? 'external_command' @@ -303,7 +303,7 @@ function! s:EditorConfigEnable(should_enable) autocmd! if a:should_enable autocmd BufNewFile,BufReadPost,BufFilePost * call s:UseConfigFiles(1) - autocmd VimEnter,BufNew * call s:UseConfigFiles(1) + autocmd MNVEnter,BufNew * call s:UseConfigFiles(1) endif augroup END endfunction @@ -324,8 +324,8 @@ call s:EditorConfigEnable(1) " UseConfigFiles function for different modes {{{1 -function! s:UseConfigFiles_VimCore(bufnr, target) -" Use the Vim script EditorConfig core +function! s:UseConfigFiles_MNVCore(bufnr, target) +" Use the MNV script EditorConfig core try let l:config = editorconfig_core#handler#get_configurations( \ { 'target': a:target } ) @@ -611,4 +611,4 @@ endfunction "}}}1 let &cpo = s:saved_cpo unlet! s:saved_cpo -" vim: fdm=marker fdc=3 +" mnv: fdm=marker fdc=3 diff --git a/uvim/runtime/pack/dist/opt/helpcurwin/autoload/helpcurwin.vim b/uvim/runtime/pack/dist/opt/helpcurwin/autoload/helpcurwin.mnv index 52a2d4f7cf..56eb56d4a6 100644 --- a/uvim/runtime/pack/dist/opt/helpcurwin/autoload/helpcurwin.vim +++ b/uvim/runtime/pack/dist/opt/helpcurwin/autoload/helpcurwin.mnv @@ -1,8 +1,8 @@ -vim9script +mnv9script -# Open Vim help on {subject} in the current window (rather than a new split) +# Open MNV help on {subject} in the current window (rather than a new split) # -# Maintainer: The Vim Project <https://github.com/vim/vim> +# Maintainer: The MNV Project <https://github.com/Project-Tick/Project-Tick> # Last change: 2025 Dec 02 export def Open(subject: string): void @@ -29,7 +29,7 @@ export def Open(subject: string): void execute HELPCURWIN() catch echohl Error - # {subject} invalid - Echo 'helpcurwin: E149:' (omit 'Vim(help):') + # {subject} invalid - Echo 'helpcurwin: E149:' (omit 'MNV(help):') echo $'helpcurwin: {v:exception->substitute("^[^:]\+:", "", "")}' echohl None endtry @@ -39,4 +39,4 @@ export def Open(subject: string): void enddef -# vim: ts=8 sts=2 sw=2 et +# mnv: ts=8 sts=2 sw=2 et diff --git a/uvim/runtime/pack/dist/opt/helpcurwin/doc/helpcurwin.txt b/uvim/runtime/pack/dist/opt/helpcurwin/doc/helpcurwin.txt index 2bca8d0341..40db835e05 100644 --- a/uvim/runtime/pack/dist/opt/helpcurwin/doc/helpcurwin.txt +++ b/uvim/runtime/pack/dist/opt/helpcurwin/doc/helpcurwin.txt @@ -1,4 +1,4 @@ -*helpcurwin.txt* For Vim version 9.1. Last change: 2025 Dec 02 +*helpcurwin.txt* For MNV version 9.1. Last change: 2025 Dec 02 The helpcurwin optional package enables opening help in the current window. @@ -33,9 +33,9 @@ for example: >vi ============================================================================== 2. helpcurwin#Open() *helpcurwin-function* -The underlying `:def` function may also be used, for example: >vim +The underlying `:def` function may also be used, for example: >mnv - :vim9cmd helpcurwin#Open('version9.2') + :mnv9cmd helpcurwin#Open('version9.2') < This may be useful from other scripts where you want to bring up help on {subject} in the current window. @@ -45,8 +45,8 @@ This may be useful from other scripts where you want to bring up help on 3. <Plug>HelpCurwin; *helpcurwin-mapping* There may be times when you want to get the help for a WORD, such as when it -is in a Vim9 script. If you want to open it in the same window, you can map -<Plug>HelpCurwin; to keys of your choosing to enable that. For example: >vim9 +is in a MNV9 script. If you want to open it in the same window, you can map +<Plug>HelpCurwin; to keys of your choosing to enable that. For example: >mnv9 nnoremap <Leader>hc <Plug>HelpCurwin; @@ -56,4 +56,4 @@ is, the |WORD| under the cursor), if it exists. ============================================================================== - vim:tw=78:ts=8:noet:ft=help:norl: + mnv:tw=78:ts=8:noet:ft=help:norl: diff --git a/uvim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.mnv b/uvim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.mnv new file mode 100644 index 0000000000..029052f704 --- /dev/null +++ b/uvim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.mnv @@ -0,0 +1,14 @@ +mnv9script + +# Open MNV help on {subject} in the current window (rather than a new split) +# +# Maintainer: The MNV Project <https://github.com/Project-Tick/Project-Tick> +# Last change: 2026 Jan 29 + +import autoload '../autoload/helpcurwin.mnv' + +command -bar -nargs=? -complete=help HelpCurwin helpcurwin.Open(<q-args>) + +nnoremap <Plug>HelpCurwin; <ScriptCmd>helpcurwin.Open(expand('<cWORD>'))<CR> + +# mnv: ts=8 sts=2 sw=2 et diff --git a/uvim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim b/uvim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim deleted file mode 100644 index e9960954a3..0000000000 --- a/uvim/runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim +++ /dev/null @@ -1,14 +0,0 @@ -vim9script - -# Open Vim help on {subject} in the current window (rather than a new split) -# -# Maintainer: The Vim Project <https://github.com/vim/vim> -# Last change: 2026 Jan 29 - -import autoload '../autoload/helpcurwin.vim' - -command -bar -nargs=? -complete=help HelpCurwin helpcurwin.Open(<q-args>) - -nnoremap <Plug>HelpCurwin; <ScriptCmd>helpcurwin.Open(expand('<cWORD>'))<CR> - -# vim: ts=8 sts=2 sw=2 et diff --git a/uvim/runtime/pack/dist/opt/helptoc/autoload/helptoc.vim b/uvim/runtime/pack/dist/opt/helptoc/autoload/helptoc.mnv index f3ce9febf9..a67cbba2c5 100644 --- a/uvim/runtime/pack/dist/opt/helptoc/autoload/helptoc.vim +++ b/uvim/runtime/pack/dist/opt/helptoc/autoload/helptoc.mnv @@ -1,7 +1,7 @@ -vim9script noclear +mnv9script noclear -# the Vim HelpTOC plugin, creates a table of contents in a popup -# Maintainer: Vim project +# the MNV HelpTOC plugin, creates a table of contents in a popup +# Maintainer: MNV project # Original Author: @lacygoill # Latest Change: 2025 Oct 17 # @@ -29,12 +29,12 @@ def UpdateUserSettings() #{{{2 # helptoc popup presentation options{{{ # Enable users to choose whether, in toc and help text popups, to have: # - border (default [], which is a border, so is usually wanted) - # - borderchars (default single box drawing; use [] for Vim's defaults) + # - borderchars (default single box drawing; use [] for MNV's defaults) # - borderhighlight (default [], but a user may prefer something else) # - close (default 'none'; mouse users may prefer 'button') # - drag (default true, which is a popup_menu's default) # - scrollbar (default false; for long tocs/HELP_TEXT true may be better) - # For example, in a Vim9 script .vimrc, these settings will produce tocs + # For example, in a MNV9 script .mnvrc, these settings will produce tocs # with borders that have the same highlight group as the inactive # statusline, a scrollbar, and an 'X' close button: # g:helptoc.popup_borderchars = get(g:helptoc, 'popup_borderchars', [' ']) @@ -59,7 +59,7 @@ UpdateUserSettings() # Syntax {{{1 -# Used by sanitized tocs (asciidoc, html, markdown, tex, vim, and xhtml) +# Used by sanitized tocs (asciidoc, html, markdown, tex, mnv, and xhtml) def SanitizedTocSyntax(): void silent execute "syntax match helptocLevel _^\\(" .. g:helptoc.level_indicator .. "\\)*_ contained" @@ -135,13 +135,13 @@ const MATCH_ENTRY: dict<dict<func: bool>> = { help: {}, - # This lets the user get a TOC when piping `info(1)` to Vim:{{{ + # This lets the user get a TOC when piping `info(1)` to MNV:{{{ # - # $ info coreutils | vim - + # $ info coreutils | mnv - #}}} # But it assumes that they have some heuristics to set the `info` filetype.{{{ # - # Possibly by inspecting the first line from `scripts.vim`: + # Possibly by inspecting the first line from `scripts.mnv`: # # if getline(1) =~ '^File: .*\.info, Node: .*, \%(Next\|Prev\): .*, Up: \|This is the top of the INFO tree.' # setfiletype info @@ -218,7 +218,7 @@ const MATCH_ENTRY: dict<dict<func: bool>> = { '\%([\u005B{]\)\|addcontentsline{toc}{subsubsection}\)', }, - vim: { + mnv: { 1: (l: string, _): bool => l =~ '\v\{{3}1', 2: (l: string, _): bool => l =~ '\v\{{3}2', 3: (l: string, _): bool => l =~ '\v\{{3}3', @@ -248,7 +248,7 @@ const HELP_RULER: string = HELP_RULERS->values()->join('\|') # The regex is copied from the help syntax plugin const HELP_TAG: string = '\*[#-)!+-~]\+\*\%(\s\|$\)\@=' -# Adapted from `$VIMRUNTIME/syntax/help.vim`.{{{ +# Adapted from `$MNVRUNTIME/syntax/help.mnv`.{{{ # # The original regex is: # @@ -352,7 +352,7 @@ export def Open() #{{{2 # ... # | | | | | Level 6 }}} final SanitizedTocSyntaxTypes: list<string> = - ['asciidoc', 'html', 'markdown', 'tex', 'vim', 'xhtml'] + ['asciidoc', 'html', 'markdown', 'tex', 'mnv', 'xhtml'] if index(SanitizedTocSyntaxTypes, g:helptoc.type) != -1 # Specified types' toc popups use a common syntax Win_execute(winid, 'SanitizedTocSyntax()') @@ -383,7 +383,7 @@ def SetToc() #{{{2 # XML predefined entities to chars: e.g., < to < # All HTML5 named character references could be handled, though is that # warranted for the few that may appear in a toc entry, especially when - # they are often mnemonic? Future: A common Vim dict/enum could be useful? + # they are often mnemonic? Future: A common MNV dict/enum could be useful? const CHARACTER_REFERENCES_TO_CHARACTERS = (text: string): string => text->substitute('\v\�*([1-9]\d{0,6});', '\=nr2char(str2nr(submatch(1), 10), 1)', 'g') @@ -436,7 +436,7 @@ def SetToc() #{{{2 ->CHARACTER_REFERENCES_TO_CHARACTERS() # SANITIZE_MARKDOWN #{{{3 - # 1 - Hyperlink incl image, e.g. [](\uri), to Vim... + # 1 - Hyperlink incl image, e.g. [](\uri), to MNV... # 2 - Hyperlink [text](/uri) to text # 3 - Substitute the # ATX heading markup with the level indicator/level # The omitted markup reflects CommonMark Spec: @@ -485,10 +485,10 @@ def SetToc() #{{{2 ->substitute('}[^}]*$', '', '') ->substitute('\\\([&%$_#{}~\\^]\)', '\1', 'g') - # SANITIZE_VIM {{{3 - # #1 - Omit leading Vim9 script # or Vim script " markers and blanks + # SANITIZE_MNV {{{3 + # #1 - Omit leading MNV9 script # or MNV script " markers and blanks # #2 - Omit numbered 3x { markers - const SANITIZE_VIM = (text: string): string => + const SANITIZE_MNV = (text: string): string => text->substitute('\v^[#[:blank:]"]*(.+)\ze[{]{3}([1-6])', '\=submatch(2) == "1" ? submatch(1) : ' .. 'repeat(g:helptoc.level_indicator, str2nr(submatch(2)) - 1)' .. @@ -588,8 +588,8 @@ def SetToc() #{{{2 curline = curline->SANITIZE_TERMINAL() elseif g:helptoc.type == 'tex' curline = curline->SANITIZE_TEX() - elseif g:helptoc.type == 'vim' - curline = curline->SANITIZE_VIM() + elseif g:helptoc.type == 'mnv' + curline = curline->SANITIZE_MNV() endif b:toc.entries->add({ lnum: lnum, @@ -702,7 +702,7 @@ def SetTocHelp() #{{{2 AddEntryInTocHelp('tag', lnum, curline) endif - # In the Vim user manual, a main section is a special case.{{{ + # In the MNV user manual, a main section is a special case.{{{ # # It's not a simple numbered section: # @@ -818,7 +818,7 @@ def AddEntryInTocHelp(type: string, lnum: number, line: string) #{{{2 # ^----------------------------------------^ # ^\s*\d\+\.\%(\d\+\.\=\)*\s\+.\{-}\*\zs.* var after_numbered: string = '^\s*\d\+\.\%(\d\+\.\=\)*\s\+.\{-}\*\zs.*' - # 01.3 Using the Vim tutor *tutor* *vimtutor* + # 01.3 Using the MNV tutor *tutor* *mnvtutor* # ^----------------^ var after_numbered_tutor: string = '^\*\d\+\.\%(\d\+\.\=\)*.\{-}\t\*\zs.*' var noisy_tags: string = @@ -1080,7 +1080,7 @@ def Filter(winid: number, key: string): bool #{{{2 look_for = input('look for: ', '', $'custom,{Complete->string()}') | redraw | echo '' - catch /Vim:Interrupt/ + catch /MNV:Interrupt/ TearDown() finally popup_setoptions(winid, {mapping: false}) @@ -1338,4 +1338,4 @@ def Complete(..._): string #{{{2 ->join("\n") enddef #}}}2 #}}}1 -# vim:et:ft=vim:fdm=marker: +# mnv:et:ft=mnv:fdm=marker: diff --git a/uvim/runtime/pack/dist/opt/helptoc/doc/helptoc.txt b/uvim/runtime/pack/dist/opt/helptoc/doc/helptoc.txt index 667dadd2b1..9d8e07dfd3 100644 --- a/uvim/runtime/pack/dist/opt/helptoc/doc/helptoc.txt +++ b/uvim/runtime/pack/dist/opt/helptoc/doc/helptoc.txt @@ -1,7 +1,7 @@ -*helptoc.txt* For Vim version 9.1. Last change: 2025 Aug 10 +*helptoc.txt* For MNV version 9.1. Last change: 2025 Aug 10 - VIM REFERENCE MANUAL + MNV REFERENCE MANUAL Interactive table of contents for help buffers and several other filetypes ============================================================================== @@ -9,9 +9,9 @@ Interactive table of contents for help buffers and several other filetypes 1. OVERVIEW *HelpToc-overview* -The helptoc.vim plugin provides one command, :HelpToc, which generates a +The helptoc.mnv plugin provides one command, :HelpToc, which generates a hierarchical table of contents in a popup window, which is based on the -structure of a Vim buffer. See |Helptoc-mappings| for a list of supported key +structure of a MNV buffer. See |Helptoc-mappings| for a list of supported key mappings in the popup window. It was designed initially for help buffers, but it also works with buffers of @@ -22,7 +22,7 @@ the following types: - markdown - terminal - tex - - vim Note: only with numbered fold markers, e.g. {{{1 + - mnv Note: only with numbered fold markers, e.g. {{{1 - xhtml 1.1 The :HelpToc command *HelpToc-:HelpToc* @@ -32,7 +32,7 @@ unsupported filetype. Also, it cannot be used to generate a table of contents for an inactive buffer. For most buffers of the supported types, :HelpToc may be entered directly -in Vim's |Command-line-mode|. How to use it from Vim's |Terminal-Job| mode is +in MNV's |Command-line-mode|. How to use it from MNV's |Terminal-Job| mode is explained in |HelpToc-terminal-buftype|. You may choose to map :HelpToc to keys making it easier to use. These are @@ -64,7 +64,7 @@ markdown and asciidoc make the identification of headings (aside from edge cases, such as when in quotes) straightforward. Some filetypes do not have such obvious or reliable headings/levels (particularly help buffers). Further, in some instances, how to enter the :HelpToc command is not -necessarily obvious, e.g., when in a Vim |terminal-window|. So, the following +necessarily obvious, e.g., when in a MNV |terminal-window|. So, the following headings address specific details regarding the in-scope types. 3.1 asciidoc *HelpToc-asciidoc-filetype* @@ -94,10 +94,10 @@ is not included in the table of contents' entries. 3.3 man pages *HelpToc-man-filetype* Retrieving man pages is typically performed in the terminal. To use :HelpToc -to generate a table of contents, the |man.vim| filetype plugin is a -prerequisite. It is provided with Vim, and may be sourced with: > +to generate a table of contents, the |man.mnv| filetype plugin is a +prerequisite. It is provided with MNV, and may be sourced with: > - :runtime ftplugin/man.vim + :runtime ftplugin/man.mnv < Once sourced, the |:Man| command will open the applicable man page in a new buffer (of "man" filetype). For example: > @@ -133,10 +133,10 @@ character(s) in the table of contents' entries. There are no explicit "headings" for a terminal buffer. However, :HelpToc displays the history of executed shell commands. Those may be specified -by changing the pattern used to match the Vim terminal's prompt. +by changing the pattern used to match the MNV terminal's prompt. See |HelpToc-configuration| for examples. -To access the terminal's table of contents, from the Vim's |Terminal-Job| mode +To access the terminal's table of contents, from the MNV's |Terminal-Job| mode enter CTRL-W N to go to |Terminal-Normal| mode. From there, enter :HelpToc to generate the table of contents. If you use the terminal's table of contents a lot, an appropriate mapping may make it easier than using CTRL-W N - e.g.: > @@ -176,15 +176,15 @@ see |HelpToc-standardized-toc|. Omitted are: the "\", the part, chapter, *section, or addcontentsline, and the left and right curly brackets preceding and following each heading's text. -3.7 vim *HelpToc-vim-filetype* +3.7 mnv *HelpToc-mnv-filetype* -Vim script and Vim9 script do not have headings or levels inherently like -markup languages. However, Vim provides for |folds| defined by markers (|{{{|), +MNV script and MNV9 script do not have headings or levels inherently like +markup languages. However, MNV provides for |folds| defined by markers (|{{{|), which themselves may be succeeded by a number explicitly indicating the fold -level. This is the structure recognized and supported by helptoc.vim. +level. This is the structure recognized and supported by helptoc.mnv. So, for example, the following would produce three table of contents entries: > - vim9script + mnv9script # Variables {{{1 var b: bool = true var s: string = $"Fold markers are great? {b}!" @@ -200,7 +200,7 @@ The table of contents for that script would appear like this: | MyFunction(): void Note: The numbered |{{{| marker structure is the only one supported by - helptoc.vim for the vim filetype. + helptoc.mnv for the mnv filetype. As the {{{1 to {{{6 markers make the "headings" explicit, the table of contents is in a standardized form - see |HelpToc-standardized-toc|. @@ -229,7 +229,7 @@ For example: headings. - HTML, aside from the "<h" headings, may have additional tags, comments, and whitespace before its headings. -- The Vim terminal has the shell prompt, which adds nothing if repeated for +- The MNV terminal has the shell prompt, which adds nothing if repeated for every heading (and may be very long). - LaTeX has "\" level indicators like "\section{" and a trailing "}". Consequently, standardising these filetypes' tables of contents, removing @@ -261,28 +261,28 @@ g:helptoc key what it controls shell_prompt The terminal prompt, used for creating a table of contents for the terminal (history list). The default is, '^\w\+@\w\+:\f\+\$\s', which should match many users' bash - prompt. To change it, either interactively or in your .vimrc, + prompt. To change it, either interactively or in your .mnvrc, use (for example for a bare Bourne shell "$ " prompt): > - vim9 g:helptoc.shell_prompt = '^\$\s' + mnv9 g:helptoc.shell_prompt = '^\$\s' <level_indicator This key's value controls the level indicator used in standardized tables of contents. The default is '| ' (i.e., a vertical bar and a space), but may be changed to whatever you want. For example, for a broken bar and space: > - vim9 g:helptoc.level_indicator = '¦ ' + mnv9 g:helptoc.level_indicator = '¦ ' < popup_border By default, the table of contents border will appear above, right, below, and left of the popup window. If you prefer not to have the border on the right and left (for example only), you can achieve that with: > - vim9 g:helptoc.popup_border = [1, 0, 1, 0] + mnv9 g:helptoc.popup_border = [1, 0, 1, 0] <popup_borderchars The default border characters for the table of contents popup window is the list ['─', '│', '─', '│', '┌', '┐', '┘', '└']. There's nothing wrong with those box drawing characters, though, for example, if you wanted a border that only uses ASCII characters, you could make the border spaces only: > - vim9 g:helptoc.popup_borderchars = [' '] + mnv9 g:helptoc.popup_borderchars = [' '] <popup_borderhighlight The default border highlight group is Normal. You can change that, perhaps in combination with popup_borderchars, above, @@ -290,7 +290,7 @@ popup_border By default, the table of contents border will appear above, the popup_borderchars are made [' '], like above, the border could be made a solid colour different to the background with: > - vim9 g:helptoc.popup_borderhighlight = ['Cursor'] + mnv9 g:helptoc.popup_borderhighlight = ['Cursor'] < Note: Choosing a highlight group that persists when colorschemes change may be a good idea if you @@ -299,20 +299,20 @@ popup_border By default, the table of contents border will appear above, popup_drag By default, table of contents popup windows may be dragged with a mouse. If you want to prevent that from happening, for whatever reason, you may deactivate it with: > - vim9 g:helptoc.popup_drag = false + mnv9 g:helptoc.popup_drag = false < popup_close Table of contents popups have "none" as the default setting for this option. If you use a mouse, you may want either to have the option to close popup windows by clicking on them or to have a clickable "X" in the top right corner. For the former, use "click", and for the latter, use "button", e.g.: > - vim9 g:helptoc.popup_close = "button" + mnv9 g:helptoc.popup_close = "button" <popup_scrollbar No scrollbar is provided on helptoc popups by default. If you do want scrollbars (which may be useful as an indicator of how far through the table of contents you are, not just for using with a mouse) you may choose to have them with: > - vim9 g:helptoc.popup_scrollbar = true + mnv9 g:helptoc.popup_scrollbar = true < NOTE: Information about the "popup_*" options, above, relate to popup options, which are explained at the 'second argument' part of |popup_create-arguments|. @@ -324,8 +324,8 @@ which are explained at the 'second argument' part of |popup_create-arguments|. in some "headings" not being identified and/or may impact the heading levels of entries in the table of contents itself. - Terminal window table of contents may not be active (insofar as jumping to - entries going to the Vim terminal's related command line). For example, if - Vim's terminal is set to Windows PowerShell Core, the table of contents will + entries going to the MNV terminal's related command line). For example, if + MNV's terminal is set to Windows PowerShell Core, the table of contents will display successfully, though the entries go nowhere when Enter, J, or K are entered on them. - The tex filetype may have variable sectioning commands depending on the @@ -340,12 +340,12 @@ which are explained at the 'second argument' part of |popup_create-arguments|. at level 1. Consequently, its table of contents entries will all appear preceded by at least one "| " (by default) because its headings start at level 2 (presuming \section{} is present). -- The vim filetype is only supported where numbered fold markers are applied. +- The mnv filetype is only supported where numbered fold markers are applied. This is intentional (including not handling unnumbered markers, which, when used in combination with numbered ones, may be used for folding comments). - helptoc.vim itself provides an exemplar of how to use numbered fold markers, + helptoc.mnv itself provides an exemplar of how to use numbered fold markers, not only for folds, but to support generating a useful table of contents using :HelpToc. ============================================================================== -vim:tw=78:ts=8:fo=tcq2:ft=help: +mnv:tw=78:ts=8:fo=tcq2:ft=help: diff --git a/uvim/runtime/pack/dist/opt/helptoc/doc/tags b/uvim/runtime/pack/dist/opt/helptoc/doc/tags index cd62dec896..f8685d615d 100644 --- a/uvim/runtime/pack/dist/opt/helptoc/doc/tags +++ b/uvim/runtime/pack/dist/opt/helptoc/doc/tags @@ -11,6 +11,6 @@ HelpToc-standardized-toc helptoc.txt /*HelpToc-standardized-toc* HelpToc-terminal-buftype helptoc.txt /*HelpToc-terminal-buftype* HelpToc-tex-filetype helptoc.txt /*HelpToc-tex-filetype* HelpToc-types helptoc.txt /*HelpToc-types* -HelpToc-vim-filetype helptoc.txt /*HelpToc-vim-filetype* +HelpToc-mnv-filetype helptoc.txt /*HelpToc-mnv-filetype* HelpToc-xhtml-filetype helptoc.txt /*HelpToc-xhtml-filetype* helptoc.txt helptoc.txt /*helptoc.txt* diff --git a/uvim/runtime/pack/dist/opt/helptoc/plugin/helptoc.mnv b/uvim/runtime/pack/dist/opt/helptoc/plugin/helptoc.mnv new file mode 100644 index 0000000000..12ee6f3bef --- /dev/null +++ b/uvim/runtime/pack/dist/opt/helptoc/plugin/helptoc.mnv @@ -0,0 +1,5 @@ +mnv9script noclear + +import autoload '../autoload/helptoc.mnv' + +command -bar HelpToc helptoc.Open() diff --git a/uvim/runtime/pack/dist/opt/helptoc/plugin/helptoc.vim b/uvim/runtime/pack/dist/opt/helptoc/plugin/helptoc.vim deleted file mode 100644 index 4fb3bc393d..0000000000 --- a/uvim/runtime/pack/dist/opt/helptoc/plugin/helptoc.vim +++ /dev/null @@ -1,5 +0,0 @@ -vim9script noclear - -import autoload '../autoload/helptoc.vim' - -command -bar HelpToc helptoc.Open() diff --git a/uvim/runtime/pack/dist/opt/hlyank/plugin/hlyank.vim b/uvim/runtime/pack/dist/opt/hlyank/plugin/hlyank.mnv index 4b568fae24..dea65ae7dd 100644 --- a/uvim/runtime/pack/dist/opt/hlyank/plugin/hlyank.vim +++ b/uvim/runtime/pack/dist/opt/hlyank/plugin/hlyank.mnv @@ -1,4 +1,4 @@ -vim9script +mnv9script # Highlight Yank plugin # Last Change: 2025 Mar 22 @@ -36,4 +36,4 @@ augroup hlyank autocmd! autocmd TextYankPost * HighlightedYank() augroup END -# vim:sts=2:sw=2:et: +# mnv:sts=2:sw=2:et: diff --git a/uvim/runtime/pack/dist/opt/justify/plugin/justify.vim b/uvim/runtime/pack/dist/opt/justify/plugin/justify.mnv index 57be790423..34389196b6 100644 --- a/uvim/runtime/pack/dist/opt/justify/plugin/justify.vim +++ b/uvim/runtime/pack/dist/opt/justify/plugin/justify.mnv @@ -313,4 +313,4 @@ function! Justify(...) range endfunction -" EOF vim: tw=78 ts=8 sw=4 sts=4 noet ai +" EOF mnv: tw=78 ts=8 sw=4 sts=4 noet ai diff --git a/uvim/runtime/pack/dist/opt/matchit/autoload/matchit.vim b/uvim/runtime/pack/dist/opt/matchit/autoload/matchit.mnv index 1e660ffd3e..2361cfc2e5 100644 --- a/uvim/runtime/pack/dist/opt/matchit/autoload/matchit.vim +++ b/uvim/runtime/pack/dist/opt/matchit/autoload/matchit.mnv @@ -1,9 +1,9 @@ -" matchit.vim: (global plugin) Extended "%" matching -" autload script of matchit plugin, see ../plugin/matchit.vim +" matchit.mnv: (global plugin) Extended "%" matching +" autload script of matchit plugin, see ../plugin/matchit.mnv " Last Change: Jan 09, 2026 -" Neovim does not support scriptversion -if has("vimscript-4") +" Neomnv does not support scriptversion +if has("mnvscript-4") scriptversion 4 endif @@ -12,7 +12,7 @@ let s:last_words = ":" let s:patBR = "" let s:save_cpo = &cpo -set cpo&vim +set cpo&mnv " Auto-complete mappings: (not yet "ready for prime time") " TODO Read :help write-plugin for the "right" way to let the user @@ -97,7 +97,7 @@ function matchit#Match_wrapper(word, forward, mode) range elseif b:match_words =~ ":" let match_words = b:match_words else - " Allow b:match_words = "GetVimMatchWords()" . + " Allow b:match_words = "GetMNVMatchWords()" . execute "let match_words =" b:match_words endif " Thanks to Preben "Peppe" Guldberg and Bram Moolenaar for this suggestion! @@ -643,7 +643,7 @@ fun! matchit#MultiMatch(spflag, mode) " This part is copied and slightly modified from matchit#Match_wrapper(). if !exists("b:match_words") || b:match_words == "" let match_words = "" - " Allow b:match_words = "GetVimMatchWords()" . + " Allow b:match_words = "GetMNVMatchWords()" . elseif b:match_words =~ ":" let match_words = b:match_words else @@ -715,8 +715,8 @@ fun! matchit#MultiMatch(spflag, mode) else try execute "if " .. skip .. "| let skip = '0' | endif" - catch /^Vim\%((\a\+)\)\=:E363/ - " We won't find anything, so skip searching, should keep Vim responsive. + catch /^MNV\%((\a\+)\)\=:E363/ + " We won't find anything, so skip searching, should keep MNV responsive. return {} endtry endif @@ -814,4 +814,4 @@ endfun let &cpo = s:save_cpo unlet s:save_cpo -" vim:sts=2:sw=2:et: +" mnv:sts=2:sw=2:et: diff --git a/uvim/runtime/pack/dist/opt/matchit/doc/matchit.txt b/uvim/runtime/pack/dist/opt/matchit/doc/matchit.txt index e82bacdeb0..bf55a51d15 100644 --- a/uvim/runtime/pack/dist/opt/matchit/doc/matchit.txt +++ b/uvim/runtime/pack/dist/opt/matchit/doc/matchit.txt @@ -1,9 +1,9 @@ *matchit.txt* Extended "%" matching Last change: 2026 Jan 06 - VIM REFERENCE MANUAL by Benji Fisher et al + MNV REFERENCE MANUAL by Benji Fisher et al -*matchit* *matchit.vim* +*matchit* *matchit.mnv* 1. Extended matching with "%" |matchit-intro| 2. Activation |matchit-activate| @@ -39,7 +39,7 @@ a% In Visual mode, select the matching group, as specified by A [count] is ignored, and only the first character of the closing pattern is selected. -In Vim, as in plain vi, the percent key, |%|, jumps the cursor from a brace, +In MNV, as in plain vi, the percent key, |%|, jumps the cursor from a brace, bracket, or paren to its match. This can be configured with the 'matchpairs' option. The matchit plugin extends this in several ways: @@ -68,14 +68,14 @@ LANGUAGES: *matchit-languages* Currently, the following languages are supported: Ada, ASP with VBS, Csh, DTD, Entity, Essbase, Fortran, HTML, JSP (same as HTML), LaTeX, Lua, Pascal, -SGML, Shell, Tcsh, Vim, XML. Other languages may already have support via -the default |filetype-plugin|s in the standard vim distribution. +SGML, Shell, Tcsh, MNV, XML. Other languages may already have support via +the default |filetype-plugin|s in the standard mnv distribution. To support a new language, see |matchit-newlang| below. DETAILS: *matchit-details* *matchit-parse* -Here is an outline of what matchit.vim does each time you hit the "%" key. If +Here is an outline of what matchit.mnv does each time you hit the "%" key. If there are |backref|s in |b:match_words| then the first step is to produce a version in which these back references have been eliminated; if there are no |backref|s then this step is skipped. This step is called parsing. For @@ -137,12 +137,12 @@ setting |b:match_skip|. ============================================================================== 2. Activation *matchit-activate* -To use the matchit plugin add this line to your |vimrc|: > +To use the matchit plugin add this line to your |mnvrc|: > packadd! matchit -The script should start working the next time you start Vim. +The script should start working the next time you start MNV. -To use the matchit plugin after Vim has started, execute this command: > +To use the matchit plugin after MNV has started, execute this command: > packadd matchit (Earlier versions of the script did nothing unless a |buffer-variable| named @@ -150,7 +150,7 @@ To use the matchit plugin after Vim has started, execute this command: > that set this variable for various file types. Now, |b:match_words| is defined in many of the default |filetype-plugin|s instead.) -For a new language, you can add autocommands to the script or to your vimrc +For a new language, you can add autocommands to the script or to your mnvrc file, but the recommended method is to add a line such as > let b:match_words = '\<foo\>:\<bar\>' to the |filetype-plugin| for your language. See |b:match_words| below for how @@ -158,10 +158,10 @@ this variable is interpreted. TROUBLESHOOTING *matchit-troubleshoot* -The script should work in most installations of Vim. It may not work if Vim +The script should work in most installations of MNV. It may not work if MNV was compiled with a minimal feature set, for example if the |+syntax| option -was not enabled. If your Vim has support for syntax compiled in, but you do -not have |syntax| highlighting turned on, matchit.vim should work, but it may +was not enabled. If your MNV has support for syntax compiled in, but you do +not have |syntax| highlighting turned on, matchit.mnv should work, but it may fail to skip matching groups in comments and strings. If the |filetype| mechanism is turned off, the |b:match_words| variable will probably not be defined automatically. @@ -172,7 +172,7 @@ To temporarily disable the matchit plugin, after it has been loaded, execute this command: > :MatchDisable -This will delete all the defined key mappings to the Vim default. +This will delete all the defined key mappings to the MNV default. Now the "%" command will work like before loading the plugin |%| 2.2 Re-enable the matchit plugin *:MatchEnable* @@ -185,7 +185,7 @@ This will resetup the key mappings. ============================================================================== 3. Configuration *matchit-configure* -There are several variables that govern the behavior of matchit.vim. Note +There are several variables that govern the behavior of matchit.mnv. Note that these are variables local to the buffer, not options, so use |:let| to define them, not |:set|. Some of these variables have values that matter; for others, it only matters whether the variable has been defined. All of these @@ -199,17 +199,17 @@ supporting a new language. MatchError is the highlight group for error messages from the script. By default, it is linked to WarningMsg. If you do not want to be bothered by error messages, you can define this to be something invisible. For example, -if you use the GUI version of Vim and your command line is normally white, you +if you use the GUI version of MNV and your command line is normally white, you can do > :hi MatchError guifg=white guibg=white < *b:match_ignorecase* If you > :let b:match_ignorecase = 1 -then matchit.vim acts as if 'ignorecase' is set: for example, "end" and "END" +then matchit.mnv acts as if 'ignorecase' is set: for example, "end" and "END" are equivalent. If you > :let b:match_ignorecase = 0 -then matchit.vim treats "end" and "END" differently. (There will be no +then matchit.mnv treats "end" and "END" differently. (There will be no b:match_infercase option unless someone requests it.) *b:match_debug* @@ -224,7 +224,7 @@ determined by the |syntax| mechanism. (If syntax highlighting is turned off, nothing is skipped.) You can set b:match_skip to a string, which evaluates to a non-zero, numerical value if the match is to be skipped or zero if the match should not be skipped. In addition, the following special values are -supported by matchit.vim: +supported by matchit.mnv: s:foo becomes (current syntax item) =~ foo S:foo becomes (current syntax item) !~ foo r:foo becomes (line before cursor) =~ foo @@ -250,11 +250,11 @@ Examples: comment character) you can > :let b:match_skip = 'r:\(^\|[^\\]\)\(\\\\\)*%' < - See the $VIMRUNTIME/ftplugin/vim.vim for an example that uses both + See the $MNVRUNTIME/ftplugin/mnv.mnv for an example that uses both syntax and a regular expression. *b:match_function* -If b:match_function is defined, matchit.vim will first call this function to +If b:match_function is defined, matchit.mnv will first call this function to perform matching. This is useful for languages with an indentation-based block structure (such as Python) or other complex matching requirements that cannot be expressed with regular expression patterns. @@ -295,11 +295,11 @@ See |matchit-newlang| below for more details on supporting new languages. ============================================================================== 4. Supporting a New Language *matchit-newlang* *b:match_words* -In order for matchit.vim to support a new language, you must define a suitable +In order for matchit.mnv to support a new language, you must define a suitable pattern for |b:match_words|. You may also want to set some of the |matchit-configure| variables, as described above. If your language has a complicated syntax, or many keywords, you will need to know something about -Vim's |regular-expression|s. +MNV's |regular-expression|s. The format for |b:match_words| is similar to that of the 'matchpairs' option: it is a comma (,)-separated list of groups; each group is a colon(:)-separated @@ -309,7 +309,7 @@ only one group; the effect is undefined if a group has only one pattern. A simple example is > :let b:match_words = '\<if\>:\<endif\>,' \ . '\<while\>:\<continue\>:\<break\>:\<endwhile\>' -(In Vim regular expressions, |\<| and |\>| denote word boundaries. Thus "if" +(In MNV regular expressions, |\<| and |\>| denote word boundaries. Thus "if" matches the end of "endif" but "\<if\>" does not.) Then banging on the "%" key will bounce the cursor between "if" and the matching "endif"; and from "while" to any matching "continue" or "break", then to the matching "endwhile" @@ -372,7 +372,7 @@ should work (and have the same effect as "foobar:barfoo:endfoobar"), although this has not been thoroughly tested. You can use |zero-width| patterns such as |\@<=| and |\zs|. (The latter has -not been thoroughly tested in matchit.vim.) For example, if the keyword "if" +not been thoroughly tested in matchit.mnv.) For example, if the keyword "if" must occur at the start of the line, with optional white space, you might use the pattern "\(^\s*\)\@<=if" so that the cursor will end on the "i" instead of at the start of the line. For another example, if HTML had only one tag then @@ -442,4 +442,4 @@ try to implement this in a future version. (This is not so easy to arrange as you might think!) ============================================================================== -vim:tw=78:ts=8:fo=tcq2:ft=help: +mnv:tw=78:ts=8:fo=tcq2:ft=help: diff --git a/uvim/runtime/pack/dist/opt/matchit/doc/tags b/uvim/runtime/pack/dist/opt/matchit/doc/tags index 008c5686d1..b415f091aa 100644 --- a/uvim/runtime/pack/dist/opt/matchit/doc/tags +++ b/uvim/runtime/pack/dist/opt/matchit/doc/tags @@ -43,7 +43,7 @@ matchit-spaces matchit.txt /*matchit-spaces* matchit-troubleshoot matchit.txt /*matchit-troubleshoot* matchit-v_% matchit.txt /*matchit-v_%* matchit.txt matchit.txt /*matchit.txt* -matchit.vim matchit.txt /*matchit.vim* +matchit.mnv matchit.txt /*matchit.mnv* o_[% matchit.txt /*o_[%* o_]% matchit.txt /*o_]%* o_g% matchit.txt /*o_g%* diff --git a/uvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim b/uvim/runtime/pack/dist/opt/matchit/plugin/matchit.mnv index 947f530261..9f4ef7bbe3 100644 --- a/uvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim +++ b/uvim/runtime/pack/dist/opt/matchit/plugin/matchit.mnv @@ -1,16 +1,16 @@ -" matchit.vim: (global plugin) Extended "%" matching +" matchit.mnv: (global plugin) Extended "%" matching " Maintainer: Christian Brabandt " Version: 1.21 " Last Change: 2024 May 20 " Repository: https://github.com/chrisbra/matchit -" Previous URL:http://www.vim.org/script.php?script_id=39 +" Previous URL:http://www.mnv.org/script.php?script_id=39 " Previous Maintainer: Benji Fisher PhD <benji@member.AMS.org> " Documentation: " The documentation is in a separate file: ../doc/matchit.txt " Credits: -" Vim editor by Bram Moolenaar (Thanks, Bram!) +" MNV editor by Bram Moolenaar (Thanks, Bram!) " Original script and design by Raul Segura Acevedo " Support for comments by Douglas Potts " Support for back references and other improvements by Benji Fisher @@ -44,7 +44,7 @@ endif let g:loaded_matchit = 1 let s:save_cpo = &cpo -set cpo&vim +set cpo&mnv fun MatchEnable() nnoremap <silent> <Plug>(MatchitNormalForward) :<C-U>call matchit#Match_wrapper('',1,'n')<CR> @@ -124,4 +124,4 @@ call MatchEnable() let &cpo = s:save_cpo unlet s:save_cpo -" vim:sts=2:sw=2:et: +" mnv:sts=2:sw=2:et: diff --git a/uvim/runtime/pack/dist/opt/netrw/README.md b/uvim/runtime/pack/dist/opt/netrw/README.md index 4b139f6249..d5cf08f582 100644 --- a/uvim/runtime/pack/dist/opt/netrw/README.md +++ b/uvim/runtime/pack/dist/opt/netrw/README.md @@ -1,13 +1,13 @@ -# Netrw.vim +# Netrw.mnv -netrw.vim plugin from vim (upstream repository) +netrw.mnv plugin from mnv (upstream repository) The upstream maintained netrw plugin. The original has been created and -maintained by Charles E Campbell and maintained by the vim project until +maintained by Charles E Campbell and maintained by the mnv project until v9.1.0988. -Every major version a snapshot from here will be sent to the main [Vim][1] -upstream for distribution with Vim. +Every major version a snapshot from here will be sent to the main [MNV][1] +upstream for distribution with MNV. # License @@ -18,46 +18,46 @@ repository. Below are stated the contribution made in the past to netrw. -Changes made to `autoload/netrw.vim`: -- 2023 Nov 21 by Vim Project: ignore wildignore when expanding $COMSPEC (v173a) -- 2023 Nov 22 by Vim Project: fix handling of very long filename on longlist style (v173a) -- 2024 Feb 19 by Vim Project: (announce adoption) -- 2024 Feb 29 by Vim Project: handle symlinks in tree mode correctly -- 2024 Apr 03 by Vim Project: detect filetypes for remote edited files -- 2024 May 08 by Vim Project: cleanup legacy Win9X checks -- 2024 May 09 by Vim Project: remove hard-coded private.ppk -- 2024 May 10 by Vim Project: recursively delete directories by default -- 2024 May 13 by Vim Project: prefer scp over pscp -- 2024 Jun 04 by Vim Project: set bufhidden if buffer changed, nohidden is set and buffer shall be switched (#14915) -- 2024 Jun 13 by Vim Project: glob() on Windows fails when a directory name contains [] (#14952) -- 2024 Jun 23 by Vim Project: save and restore registers when liststyle = WIDELIST (#15077, #15114) -- 2024 Jul 22 by Vim Project: avoid endless recursion (#15318) -- 2024 Jul 23 by Vim Project: escape filename before trying to delete it (#15330) -- 2024 Jul 30 by Vim Project: handle mark-copy to same target directory (#12112) -- 2024 Aug 02 by Vim Project: honor g:netrw_alt{o,v} for :{S,H,V}explore (#15417) -- 2024 Aug 15 by Vim Project: style changes, prevent E121 (#15501) -- 2024 Aug 22 by Vim Project: fix mf-selection highlight (#15551) -- 2024 Aug 22 by Vim Project: adjust echo output of mx command (#15550) -- 2024 Sep 15 by Vim Project: more strict confirmation dialog (#15680) -- 2024 Sep 19 by Vim Project: mf-selection highlight uses wrong pattern (#15700) -- 2024 Sep 21 by Vim Project: remove extraneous closing bracket (#15718) -- 2024 Oct 21 by Vim Project: remove netrwFileHandlers (#15895) -- 2024 Oct 27 by Vim Project: clean up gx mapping (#15721) -- 2024 Oct 30 by Vim Project: fix filetype detection for remote files (#15961) -- 2024 Oct 30 by Vim Project: fix x mapping on cygwin (#13687) -- 2024 Oct 31 by Vim Project: add netrw#Launch() and netrw#Open() (#15962) -- 2024 Oct 31 by Vim Project: fix E874 when browsing remote dir (#15964) -- 2024 Nov 07 by Vim Project: use keeppatterns to prevent polluting the search history -- 2024 Nov 07 by Vim Project: fix a few issues with netrw tree listing (#15996) -- 2024 Nov 10 by Vim Project: directory symlink not resolved in tree view (#16020) -- 2024 Nov 14 by Vim Project: small fixes to netrw#BrowseX (#16056) -- 2024 Nov 23 by Vim Project: update decompress defaults (#16104) -- 2024 Nov 23 by Vim Project: fix powershell escaping issues (#16094) -- 2024 Dec 04 by Vim Project: do not detach for gvim (#16168) -- 2024 Dec 08 by Vim Project: check the first arg of netrw_browsex_viewer for being executable (#16185) -- 2024 Dec 12 by Vim Project: do not pollute the search history (#16206) -- 2024 Dec 19 by Vim Project: change style (#16248) -- 2024 Dec 20 by Vim Project: change style continued (#16266), fix escaping of # in :Open command (#16265) +Changes made to `autoload/netrw.mnv`: +- 2023 Nov 21 by MNV Project: ignore wildignore when expanding $COMSPEC (v173a) +- 2023 Nov 22 by MNV Project: fix handling of very long filename on longlist style (v173a) +- 2024 Feb 19 by MNV Project: (announce adoption) +- 2024 Feb 29 by MNV Project: handle symlinks in tree mode correctly +- 2024 Apr 03 by MNV Project: detect filetypes for remote edited files +- 2024 May 08 by MNV Project: cleanup legacy Win9X checks +- 2024 May 09 by MNV Project: remove hard-coded private.ppk +- 2024 May 10 by MNV Project: recursively delete directories by default +- 2024 May 13 by MNV Project: prefer scp over pscp +- 2024 Jun 04 by MNV Project: set bufhidden if buffer changed, nohidden is set and buffer shall be switched (#14915) +- 2024 Jun 13 by MNV Project: glob() on Windows fails when a directory name contains [] (#14952) +- 2024 Jun 23 by MNV Project: save and restore registers when liststyle = WIDELIST (#15077, #15114) +- 2024 Jul 22 by MNV Project: avoid endless recursion (#15318) +- 2024 Jul 23 by MNV Project: escape filename before trying to delete it (#15330) +- 2024 Jul 30 by MNV Project: handle mark-copy to same target directory (#12112) +- 2024 Aug 02 by MNV Project: honor g:netrw_alt{o,v} for :{S,H,V}explore (#15417) +- 2024 Aug 15 by MNV Project: style changes, prevent E121 (#15501) +- 2024 Aug 22 by MNV Project: fix mf-selection highlight (#15551) +- 2024 Aug 22 by MNV Project: adjust echo output of mx command (#15550) +- 2024 Sep 15 by MNV Project: more strict confirmation dialog (#15680) +- 2024 Sep 19 by MNV Project: mf-selection highlight uses wrong pattern (#15700) +- 2024 Sep 21 by MNV Project: remove extraneous closing bracket (#15718) +- 2024 Oct 21 by MNV Project: remove netrwFileHandlers (#15895) +- 2024 Oct 27 by MNV Project: clean up gx mapping (#15721) +- 2024 Oct 30 by MNV Project: fix filetype detection for remote files (#15961) +- 2024 Oct 30 by MNV Project: fix x mapping on cygwin (#13687) +- 2024 Oct 31 by MNV Project: add netrw#Launch() and netrw#Open() (#15962) +- 2024 Oct 31 by MNV Project: fix E874 when browsing remote dir (#15964) +- 2024 Nov 07 by MNV Project: use keeppatterns to prevent polluting the search history +- 2024 Nov 07 by MNV Project: fix a few issues with netrw tree listing (#15996) +- 2024 Nov 10 by MNV Project: directory symlink not resolved in tree view (#16020) +- 2024 Nov 14 by MNV Project: small fixes to netrw#BrowseX (#16056) +- 2024 Nov 23 by MNV Project: update decompress defaults (#16104) +- 2024 Nov 23 by MNV Project: fix powershell escaping issues (#16094) +- 2024 Dec 04 by MNV Project: do not detach for gmnv (#16168) +- 2024 Dec 08 by MNV Project: check the first arg of netrw_browsex_viewer for being executable (#16185) +- 2024 Dec 12 by MNV Project: do not pollute the search history (#16206) +- 2024 Dec 19 by MNV Project: change style (#16248) +- 2024 Dec 20 by MNV Project: change style continued (#16266), fix escaping of # in :Open command (#16265) General changes made to netrw: @@ -80,21 +80,21 @@ General changes made to netrw: in netrw#ErrorMsg (lacygoill). Apparently popup_beval doesn't reliably close the popup when the mouse is moved. - * VimEnter() now using win_execute to examine + * MNVEnter() now using win_execute to examine buffers for an attempt to open a directory. Avoids issues with popups/terminal from command line. (lacygoill) Jun 28, 2021 * (zeertzjq) provided a patch for use of xmap,xno instead of vmap,vno in - netrwPlugin.vim. Avoids entanglement with + netrwPlugin.mnv. Avoids entanglement with select mode. Jul 14, 2021 * Fixed problem addressed by tst976; opening a file using tree mode, going up a directory, and opening a file there was opening the file in the wrong directory. Jul 28, 2021 * (Ingo Karkat) provided a patch fixing an - E488 error with netrwPlugin.vim - (occurred for vim versions < 8.02) + E488 error with netrwPlugin.mnv + (occurred for mnv versions < 8.02) v170: Mar 11, 2020 * (reported by Reiner Herrmann) netrw+tree would not hide with the ^\..* pattern correctly. @@ -293,8 +293,8 @@ General changes made to netrw: extension Mar 28, 2015 * (requested by Matt Brooks) netrw has a lot of buffer-local mappings; however, some - plugins (such as vim-surround) set up - conflicting mappings that cause vim to wait. + plugins (such as mnv-surround) set up + conflicting mappings that cause mnv to wait. The "<nowait>" modifier has been included with most of netrw's mappings to avoid that delay. @@ -372,7 +372,7 @@ General changes made to netrw: keepj Jul 09, 2014 * fixing bugs due to previous update Jul 21, 2014 * (Bruno Sutic) provided an updated - netrw_gitignore.vim + netrw_gitignore.mnv Jul 30, 2014 * (Yavuz Yetim) reported that editing two remote files of the same name caused the second instance to have a "temporary" @@ -387,7 +387,7 @@ General changes made to netrw: |g:netrw_file_cmd| (typically elinks or links) Dec 02, 2014 * began work on having mc (|netrw-mc|) copy directories. Works for linux machines, - cygwin+vim, but not for windows+gvim. + cygwin+mnv, but not for windows+gmnv. Dec 02, 2014 * in tree mode, netrw was not opening directories via symbolic links. Dec 02, 2014 * added resolved link information to @@ -395,7 +395,7 @@ General changes made to netrw: Dec 30, 2014 * (issue#231) |:ls| was not showing remote-file buffers reliably. Fixed. v152: Apr 08, 2014 * uses the |'noswapfile'| option (requires {{{2 - vim 7.4 with patch 213) + mnv 7.4 with patch 213) * (Enno Nagel) turn |'rnu'| off in netrw buffers. * (Quinn Strahl) suggested that netrw @@ -432,7 +432,7 @@ General changes made to netrw: using a directory name containing spaces did not work. Fixed with a retry in netrw#Explore() which removes the - backslashes vim inserted. + backslashes mnv inserted. Feb 26, 2014 * :Rexplore now records the current file using w:netrw_rexfile when returning via |:Rexplore| @@ -452,7 +452,7 @@ General changes made to netrw: the browser with ftp on a directory, and selecting a gzipped txt file, that an E19 occurred (which was issued by - gzip.vim). Fixed. + gzip.mnv). Fixed. Mar 14, 2014 * Implemented :MF and :MT (see |netrw-:MF| and |netrw-:MT|, respectively) Mar 17, 2014 * |:Ntree| [dir] wasn't working properly; fixed @@ -529,8 +529,8 @@ General changes made to netrw: what names the files should be copied under Apr 29, 2013 * Trying Benzinger's problem again. Seems that commenting out the BufEnter and - installing VimEnter (only) works. Weird - problem! (tree listing, vim -O Dir1 Dir2) + installing MNVEnter (only) works. Weird + problem! (tree listing, mnv -O Dir1 Dir2) May 01, 2013 * :Explore ftp://... wasn't working. Fixed. May 02, 2013 * introduced |g:netrw_bannerbackslash| as requested by Paul Domaskis. @@ -541,4 +541,4 @@ General changes made to netrw: sorting style ``` -[1]: https://github.com/vim/vim +[1]: https://github.com/Project-Tick/Project-Tick diff --git a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw.vim b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw.mnv index 1520ff969e..90952e773e 100644 --- a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw.vim +++ b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw.mnv @@ -2,39 +2,39 @@ " Previous Maintainer: Luca Saccarola <github.e41mv@aleeas.com> " Maintainer: This runtime file is looking for a new maintainer. " Last Change: -" 2025 Aug 07 by Vim Project (use correct "=~#" for netrw_stylesize option #17901) -" 2025 Aug 07 by Vim Project (netrw#BrowseX() distinguishes remote files #17794) -" 2025 Aug 22 by Vim Project netrw#Explore handle terminal correctly #18069 -" 2025 Sep 05 by Vim Project ensure netrw#fs#Dirname() returns trailing slash #18199 -" 2025 Sep 11 by Vim Project only keep cursor position in tree mode #18275 -" 2025 Sep 17 by Vim Project tighten the regex to handle remote compressed archives #18318 -" 2025 Sep 18 by Vim Project 'equalalways' not always respected #18358 -" 2025 Oct 01 by Vim Project fix navigate to parent folder #18464 -" 2025 Oct 26 by Vim Project fix parsing of remote user names #18611 -" 2025 Oct 27 by Vim Project align comment after #18611 -" 2025 Nov 01 by Vim Project fix NetrwChgPerm #18674 -" 2025 Nov 13 by Vim Project don't wipe unnamed buffers #18740 -" 2025 Nov 18 by Vim Project use UNC paths when using scp and Windows paths #18764 -" 2025 Nov 28 by Vim Project fix undefined variable in *NetrwMenu #18829 -" 2025 Dec 26 by Vim Project fix use of g:netrw_cygwin #19015 -" 2026 Jan 19 by Vim Project do not create swapfiles #18854 -" 2026 Feb 15 by Vim Project fix global variable initialization for MS-Windows #19287 -" 2026 Feb 21 by Vim Project better absolute path detection on MS-Windows #19477 -" 2026 Feb 27 by Vim Project Make the hostname validation more strict -" 2026 Mar 01 by Vim Project include portnumber in hostname checking #19533 -" 2026 Apr 01 by Vim Project use fnameescape() with netrw#FileUrlEdit() +" 2025 Aug 07 by MNV Project (use correct "=~#" for netrw_stylesize option #17901) +" 2025 Aug 07 by MNV Project (netrw#BrowseX() distinguishes remote files #17794) +" 2025 Aug 22 by MNV Project netrw#Explore handle terminal correctly #18069 +" 2025 Sep 05 by MNV Project ensure netrw#fs#Dirname() returns trailing slash #18199 +" 2025 Sep 11 by MNV Project only keep cursor position in tree mode #18275 +" 2025 Sep 17 by MNV Project tighten the regex to handle remote compressed archives #18318 +" 2025 Sep 18 by MNV Project 'equalalways' not always respected #18358 +" 2025 Oct 01 by MNV Project fix navigate to parent folder #18464 +" 2025 Oct 26 by MNV Project fix parsing of remote user names #18611 +" 2025 Oct 27 by MNV Project align comment after #18611 +" 2025 Nov 01 by MNV Project fix NetrwChgPerm #18674 +" 2025 Nov 13 by MNV Project don't wipe unnamed buffers #18740 +" 2025 Nov 18 by MNV Project use UNC paths when using scp and Windows paths #18764 +" 2025 Nov 28 by MNV Project fix undefined variable in *NetrwMenu #18829 +" 2025 Dec 26 by MNV Project fix use of g:netrw_cygwin #19015 +" 2026 Jan 19 by MNV Project do not create swapfiles #18854 +" 2026 Feb 15 by MNV Project fix global variable initialization for MS-Windows #19287 +" 2026 Feb 21 by MNV Project better absolute path detection on MS-Windows #19477 +" 2026 Feb 27 by MNV Project Make the hostname validation more strict +" 2026 Mar 01 by MNV Project include portnumber in hostname checking #19533 +" 2026 Apr 01 by MNV Project use fnameescape() with netrw#FileUrlEdit() " Copyright: Copyright (C) 2016 Charles E. Campbell {{{1 " Permission is hereby granted to use and distribute this code, " with or without modifications, provided that this copyright " notice is copied with it. Like anything else that's free, -" netrw.vim, netrwPlugin.vim, and netrwSettings.vim are provided +" netrw.mnv, netrwPlugin.mnv, and netrwSettings.mnv are provided " *as is* and come with no warranty of any kind, either " expressed or implied. By using this plugin, you agree that " in no event will the copyright holder be liable for any damages " resulting from the use of this software. " -" Note: the code here was started in 1999 under a much earlier version of vim. The directory browsing -" code was written using vim v6, which did not have Lists (Lists were first offered with vim-v7). +" Note: the code here was started in 1999 under a much earlier version of mnv. The directory browsing +" code was written using mnv v6, which did not have Lists (Lists were first offered with mnv-v7). " Load Once: {{{1 if &cp || exists("g:loaded_netrw") @@ -43,13 +43,13 @@ endif let g:loaded_netrw = "v184" -if !has("patch-9.1.1054") && !has('nvim') - echoerr 'netrw needs Vim v9.1.1054' +if !has("patch-9.1.1054") && !has('nmnv') + echoerr 'netrw needs MNV v9.1.1054' finish endif let s:keepcpo= &cpo -setl cpo&vim +setl cpo&mnv " Netrw Variables: {{{1 @@ -688,8 +688,8 @@ function netrw#Explore(indx,dosplit,style,...) if starpat == 1 " starpat=1: Explore *//pattern (current directory only search for files containing pattern) try - exe "NetrwKeepj noautocmd vimgrep /".pattern."/gj ".fnameescape(b:netrw_curdir)."/*" - catch /^Vim\%((\a\+)\)\=:E480/ + exe "NetrwKeepj noautocmd mnvgrep /".pattern."/gj ".fnameescape(b:netrw_curdir)."/*" + catch /^MNV\%((\a\+)\)\=:E480/ call netrw#msg#Notify('WARNING', printf("no match with pattern<%s>", pattern)) return endtry @@ -699,8 +699,8 @@ function netrw#Explore(indx,dosplit,style,...) elseif starpat == 2 " starpat=2: Explore **//pattern (recursive descent search for files containing pattern) try - exe "sil NetrwKeepj noautocmd keepalt vimgrep /".pattern."/gj "."**/*" - catch /^Vim\%((\a\+)\)\=:E480/ + exe "sil NetrwKeepj noautocmd keepalt mnvgrep /".pattern."/gj "."**/*" + catch /^MNV\%((\a\+)\)\=:E480/ call netrw#msg#Notify('WARNING', printf('no files matched pattern<%s>', pattern)) if &hls | let keepregslash= s:ExplorePatHls(pattern) | endif if has("clipboard") && g:netrw_clipboard @@ -769,7 +769,7 @@ function netrw#Explore(indx,dosplit,style,...) keepalt NetrwKeepj call s:SetupNetrwStatusLine('%f %h%m%r%=%9*%{NetrwStatusLine()}') else - call netrw#msg#Notify('WARNING', 'your vim needs the +path_extra feature for Exploring with **!') + call netrw#msg#Notify('WARNING', 'your mnv needs the +path_extra feature for Exploring with **!') if has("clipboard") && g:netrw_clipboard if @* != keepregstar | sil! let @* = keepregstar | endif if @+ != keepregplus | sil! let @+ = keepregplus | endif @@ -2181,7 +2181,7 @@ function netrw#NetWrite(...) range endfunction -" netrw#NetSource: source a remotely hosted Vim script {{{2 +" netrw#NetSource: source a remotely hosted MNV script {{{2 " uses NetRead to get a copy of the file into a temporarily file, " then sources that file, " then removes that file. @@ -2314,9 +2314,9 @@ function s:NetrwGetFile(readcmd, tfile, method) " rename buffer back to remote filename call s:NetrwBufRename(rfile) - " Jan 19, 2022: COMBAK -- bram problem with https://github.com/vim/vim/pull/9554.diff filetype + " Jan 19, 2022: COMBAK -- bram problem with https://github.com/Project-Tick/Project-Tick/pull/9554.diff filetype " Detect filetype of local version of remote file. - " Note that isk must not include a "/" for scripts.vim + " Note that isk must not include a "/" for scripts.mnv " to process this detection correctly. " setl ft= let iskkeep= &isk @@ -2910,7 +2910,7 @@ function s:NetrwBookHistRead() exe "keepalt NetrwKeepj so ".savefile endif let s:netrw_initbookhist= 1 - au VimLeave * call s:NetrwBookHistSave() + au MNVLeave * call s:NetrwBookHistSave() endif endif @@ -2919,7 +2919,7 @@ endfunction " s:NetrwBookHistSave: this function saves bookmarks and history to files {{{2 " Sister function: s:NetrwBookHistRead() -" I used to do this via viminfo but that appears to +" I used to do this via mnvinfo but that appears to " be unreliable for long-term storage " If g:netrw_dirhistmax is <= 0, no history or bookmarks " will be saved. @@ -3034,11 +3034,11 @@ function s:NetrwBrowse(islocal,dirname) return endif if !exists("*shellescape") - call netrw#msg#Notify('ERROR', "netrw can't run -- your vim is missing shellescape()") + call netrw#msg#Notify('ERROR', "netrw can't run -- your mnv is missing shellescape()") return endif if !exists("*fnameescape") - call netrw#msg#Notify('ERROR', "netrw can't run -- your vim is missing fnameescape()") + call netrw#msg#Notify('ERROR', "netrw can't run -- your mnv is missing fnameescape()") return endif @@ -3080,7 +3080,7 @@ function s:NetrwBrowse(islocal,dirname) call s:NetrwBufRename(url) exe "sil! NetrwKeepj keepalt doau BufReadPre ".fnameescape(s:fname) sil call netrw#NetRead(2,url) - " netrw.vim and tar.vim have already handled decompression of the tarball; avoiding gzip.vim error + " netrw.mnv and tar.mnv have already handled decompression of the tarball; avoiding gzip.mnv error if s:path =~ '\.bz2$' exe "sil NetrwKeepj keepalt doau BufReadPost ".fnameescape(substitute(s:fname,'\.bz2$','','')) elseif s:path =~ '\.gz$' @@ -3164,7 +3164,7 @@ function s:NetrwBrowse(islocal,dirname) " Set up ShellCmdPost handling. Append current buffer to browselist call s:LocalFastBrowser() - " handle g:netrw_keepdir: set vim's current directory to netrw's notion of the current directory {{{3 + " handle g:netrw_keepdir: set mnv's current directory to netrw's notion of the current directory {{{3 if !g:netrw_keepdir if !exists("&l:acd") || !&l:acd if s:NetrwLcd(b:netrw_curdir) @@ -3240,7 +3240,7 @@ endfunction " s:NetrwFile: because of g:netrw_keepdir, isdirectory(), type(), etc may or {{{2 " may not apply correctly; ie. netrw's idea of the current directory may -" differ from vim's. This function insures that netrw's idea of the current +" differ from mnv's. This function insures that netrw's idea of the current " directory is used. " Returns a path to the file specified by a:fname function s:NetrwFile(fname) @@ -3253,7 +3253,7 @@ function s:NetrwFile(fname) endif if g:netrw_keepdir - " vim's idea of the current directory possibly may differ from netrw's + " mnv's idea of the current directory possibly may differ from netrw's if !exists("b:netrw_curdir") let b:netrw_curdir= getcwd() endif @@ -3275,7 +3275,7 @@ function s:NetrwFile(fname) let ret= netrw#fs#ComposePath(b:netrw_curdir,fname) endif else - " vim and netrw agree on the current directory + " mnv and netrw agree on the current directory let ret= fname endif @@ -3307,7 +3307,7 @@ function s:NetrwFileInfo(islocal,fname) echo system("/bin/ls ".lsopt." ".netrw#os#Escape(s:NetrwFile(a:fname))) endif else - " use vim functions to return information about file below cursor + " use mnv functions to return information about file below cursor if !isdirectory(s:NetrwFile(a:fname)) && !filereadable(s:NetrwFile(a:fname)) && a:fname =~ '[*@/]' let fname= substitute(a:fname,".$","","") else @@ -3737,7 +3737,7 @@ function s:NetrwBookmarkMenu() return endif - " the following test assures that gvim is running, has menus available, and has menus enabled. + " the following test assures that gmnv is running, has menus available, and has menus enabled. if has("gui") && has("menu") && has("gui_running") && &go =~# 'm' && g:netrw_menu if exists("g:NetrwTopLvlMenu") exe 'sil! unmenu '.g:NetrwTopLvlMenu.'Bookmarks' @@ -3938,7 +3938,7 @@ function s:NetrwBrowseChgDir(islocal, newdir, cursor, ...) call s:NetrwEditFile("e","",dirname) call s:NetrwCursor(1) if &hidden || &bufhidden == "hide" - " file came from vim's hidden storage. Don't "restore" options with it. + " file came from mnv's hidden storage. Don't "restore" options with it. let dorestore= 0 endif endif @@ -4431,12 +4431,12 @@ endfunction " s:NetrwHome: this function determines a "home" for saving bookmarks and history {{{2 function s:NetrwHome() - if has('nvim') + if has('nmnv') let home = netrw#fs#PathJoin(stdpath('state'), 'netrw') elseif exists('g:netrw_home') let home = expand(g:netrw_home) - elseif exists('$MYVIMDIR') - let home = expand('$MYVIMDIR')->substitute('/$', '', '') + elseif exists('$MYMNVDIR') + let home = expand('$MYMNVDIR')->substitute('/$', '', '') else " Pick the first redable directory in 'runtimepath' for path in split(&rtp, ',') @@ -4523,7 +4523,7 @@ function s:NetrwCLeftmouse(islocal) call s:NetrwMarkFileTgt(a:islocal) endfunction -" s:NetrwServerEdit: edit file in a server gvim, usually NETRWSERVER (implements <c-r>){{{2 +" s:NetrwServerEdit: edit file in a server gmnv, usually NETRWSERVER (implements <c-r>){{{2 " a:islocal=0 : <c-r> not used, remote " a:islocal=1 : <c-r> not used, local " a:islocal=2 : <c-r> used, remote @@ -4533,7 +4533,7 @@ function s:NetrwServerEdit(islocal,fname) let ctrlr = a:islocal >= 2 " =0: <c-r> not used =1: <c-r> used if (islocal && isdirectory(s:NetrwFile(a:fname))) || (!islocal && a:fname =~ '/$') - " handle directories in the local window -- not in the remote vim server + " handle directories in the local window -- not in the remote mnv server " user must have closed the NETRWSERVER window. Treat as normal editing from netrw. let g:netrw_browse_split= 0 if exists("s:netrw_browse_split") && exists("s:netrw_browse_split_".winnr()) @@ -4544,7 +4544,7 @@ function s:NetrwServerEdit(islocal,fname) return endif - if has("clientserver") && executable("gvim") + if has("clientserver") && executable("gmnv") if exists("g:netrw_browse_split") && type(g:netrw_browse_split) == 3 let srvrname = g:netrw_browse_split[0] @@ -4567,11 +4567,11 @@ function s:NetrwServerEdit(islocal,fname) elseif has("win32") && executable("start") " start up remote netrw server under windows - call system("start gvim --servername ".srvrname) + call system("start gmnv --servername ".srvrname) else " start up remote netrw server under linux - call system("gvim --servername ".srvrname) + call system("gmnv --servername ".srvrname) endif endif @@ -4593,10 +4593,10 @@ function s:NetrwServerEdit(islocal,fname) else if has("win32") && executable("start") " start up remote netrw server under windows - call system("start gvim --servername ".g:netrw_servername) + call system("start gmnv --servername ".g:netrw_servername) else " start up remote netrw server under linux - call system("gvim --servername ".g:netrw_servername) + call system("gmnv --servername ".g:netrw_servername) endif endif endif @@ -4605,7 +4605,7 @@ function s:NetrwServerEdit(islocal,fname) try call remote_send(g:netrw_servername,":e ".fnameescape(s:NetrwFile(a:fname))."\<cr>") break - catch /^Vim\%((\a\+)\)\=:E241/ + catch /^MNV\%((\a\+)\)\=:E241/ sleep 200m endtry endwhile @@ -4620,7 +4620,7 @@ function s:NetrwServerEdit(islocal,fname) endif else - call netrw#msg#Notify('ERROR', 'you need a gui-capable vim and client-server to use <ctrl-r>') + call netrw#msg#Notify('ERROR', 'you need a gui-capable mnv and client-server to use <ctrl-r>') endif endfunction @@ -4806,7 +4806,7 @@ function s:NetrwMakeDir(usrhost) let @@= ykeep endfunction -" s:TreeSqueezeDir: allows a shift-cr (gvim only) to squeeze the current tree-listing directory {{{2 +" s:TreeSqueezeDir: allows a shift-cr (gmnv only) to squeeze the current tree-listing directory {{{2 function s:TreeSqueezeDir(islocal) if exists("w:netrw_liststyle") && w:netrw_liststyle == s:TREELIST && exists("w:netrw_treedict") " its a tree-listing style @@ -4897,7 +4897,7 @@ function s:NetrwMaps(islocal) nnoremap <buffer> <silent> <nowait> mT :<c-u>call <SID>NetrwMarkFileTag(1)<cr> nnoremap <buffer> <silent> <nowait> mt :<c-u>call <SID>NetrwMarkFileTgt(1)<cr> nnoremap <buffer> <silent> <nowait> mu :<c-u>call <SID>NetrwUnMarkFile(1)<cr> - nnoremap <buffer> <silent> <nowait> mv :<c-u>call <SID>NetrwMarkFileVimCmd(1)<cr> + nnoremap <buffer> <silent> <nowait> mv :<c-u>call <SID>NetrwMarkFileMNVCmd(1)<cr> nnoremap <buffer> <silent> <nowait> mx :<c-u>call <SID>NetrwMarkFileExe(1,0)<cr> nnoremap <buffer> <silent> <nowait> mX :<c-u>call <SID>NetrwMarkFileExe(1,1)<cr> nnoremap <buffer> <silent> <nowait> mz :<c-u>call <SID>NetrwMarkFileCompress(1)<cr> @@ -5008,7 +5008,7 @@ function s:NetrwMaps(islocal) nnoremap <buffer> <silent> <nowait> mT :<c-u>call <SID>NetrwMarkFileTag(0)<cr> nnoremap <buffer> <silent> <nowait> mt :<c-u>call <SID>NetrwMarkFileTgt(0)<cr> nnoremap <buffer> <silent> <nowait> mu :<c-u>call <SID>NetrwUnMarkFile(0)<cr> - nnoremap <buffer> <silent> <nowait> mv :<c-u>call <SID>NetrwMarkFileVimCmd(0)<cr> + nnoremap <buffer> <silent> <nowait> mv :<c-u>call <SID>NetrwMarkFileMNVCmd(0)<cr> nnoremap <buffer> <silent> <nowait> mx :<c-u>call <SID>NetrwMarkFileExe(0,0)<cr> nnoremap <buffer> <silent> <nowait> mX :<c-u>call <SID>NetrwMarkFileExe(0,1)<cr> nnoremap <buffer> <silent> <nowait> mz :<c-u>call <SID>NetrwMarkFileCompress(0)<cr> @@ -5450,7 +5450,7 @@ function s:NetrwMarkFileCopy(islocal,...) call system(shell_cmd) if v:shell_error != 0 if exists("b:netrw_curdir") && b:netrw_curdir != getcwd() && g:netrw_keepdir - call netrw#msg#Notify('ERROR', printf("copy failed; perhaps due to vim's current directory<%s> not matching netrw's (%s) (see :help netrw-cd)", getcwd(), b:netrw_curdir)) + call netrw#msg#Notify('ERROR', printf("copy failed; perhaps due to mnv's current directory<%s> not matching netrw's (%s) (see :help netrw-cd)", getcwd(), b:netrw_curdir)) else call netrw#msg#Notify('ERROR', printf("tried using g:netrw_localcopycmd<%s>; it doesn't work!", g:netrw_localcopycmd)) endif @@ -5524,7 +5524,7 @@ function s:NetrwMarkFileCopy(islocal,...) endfunction " s:NetrwMarkFileDiff: (invoked by md) This function is used to {{{2 -" invoke vim's diff mode on the marked files. +" invoke mnv's diff mode on the marked files. " Either two or three files can be so handled. " Uses the global marked file list. function s:NetrwMarkFileDiff(islocal) @@ -5756,9 +5756,9 @@ function s:NetrwMarkHideSfx(islocal) endif endfunction -" s:NetrwMarkFileVimCmd: (invoked by mv) execute arbitrary vim command on marked files, one at a time {{{2 +" s:NetrwMarkFileMNVCmd: (invoked by mv) execute arbitrary mnv command on marked files, one at a time {{{2 " Uses the local marked-file list. -function s:NetrwMarkFileVimCmd(islocal) +function s:NetrwMarkFileMNVCmd(islocal) let svpos = winsaveview() let curdir = s:NetrwGetCurdir(a:islocal) let curbufnr = bufnr("%") @@ -5772,7 +5772,7 @@ function s:NetrwMarkFileVimCmd(islocal) if exists("s:netrwmarkfilelist_{curbufnr}") " get the command call inputsave() - let cmd= input("Enter vim command: ","","file") + let cmd= input("Enter mnv command: ","","file") call inputrestore() if cmd == "" return @@ -5802,7 +5802,7 @@ function s:NetrwMarkFileVimCmd(islocal) endif endfunction -" s:NetrwMarkFileGrep: (invoked by mg) This function applies vimgrep to marked files {{{2 +" s:NetrwMarkFileGrep: (invoked by mg) This function applies mnvgrep to marked files {{{2 " Uses the global markfilelist function s:NetrwMarkFileGrep(islocal) let svpos = winsaveview() @@ -5832,10 +5832,10 @@ function s:NetrwMarkFileGrep(islocal) let nonisi = pat[0] endif - " use vimgrep for both local and remote + " use mnvgrep for both local and remote try - exe "NetrwKeepj noautocmd vimgrep".patbang." ".pat." ".netrwmarkfilelist - catch /^Vim\%((\a\+)\)\=:E480/ + exe "NetrwKeepj noautocmd mnvgrep".patbang." ".pat." ".netrwmarkfilelist + catch /^MNV\%((\a\+)\)\=:E480/ call netrw#msg#Notify('WARNING', printf('no match with pattern<%s>', pat)) return endtry @@ -5909,7 +5909,7 @@ function s:NetrwMarkFileMove(islocal) let ret= system(shell_cmd) if v:shell_error != 0 if exists("b:netrw_curdir") && b:netrw_curdir != getcwd() && !g:netrw_keepdir - call netrw#msg#Notify('ERROR', printf("move failed; perhaps due to vim's current directory<%s> not matching netrw's (%s) (see :help netrw-cd)", getcwd(), b:netrw_curdir)) + call netrw#msg#Notify('ERROR', printf("move failed; perhaps due to mnv's current directory<%s> not matching netrw's (%s) (see :help netrw-cd)", getcwd(), b:netrw_curdir)) else call netrw#msg#Notify('ERROR', printf("tried using g:netrw_localmovecmd<%s>; it doesn't work!", g:netrw_localmovecmd)) endif @@ -6353,7 +6353,7 @@ function s:NetrwUnMarkFile(islocal) call winrestview(svpos) endfunction -" s:NetrwMenu: generates the menu for gvim and netrw {{{2 +" s:NetrwMenu: generates the menu for gmnv and netrw {{{2 function s:NetrwMenu(domenu) if !exists("g:NetrwMenuPriority") @@ -6771,7 +6771,7 @@ function s:NetrwPreview(path) range " 0 : 0: bot -- preview window is horizontally split off and on the bottom " " Note that the file being previewed is already known to not be a directory, hence we can avoid doing a LocalBrowseCheck() check via - " the BufEnter event set up in netrwPlugin.vim + " the BufEnter event set up in netrwPlugin.mnv let eikeep = &ei set ei=BufEnter exe (g:netrw_alto? "top " : "bot ").(g:netrw_preview? "vert " : "")."pedit ".fnameescape(a:path) @@ -6783,7 +6783,7 @@ function s:NetrwPreview(path) range call netrw#msg#Notify('WARNING', printf('sorry, cannot preview a directory such as <%s>', a:path)) endif else - call netrw#msg#Notify('WARNING', 'sorry, to preview your vim needs the quickfix feature compiled in') + call netrw#msg#Notify('WARNING', 'sorry, to preview your mnv needs the quickfix feature compiled in') endif NetrwKeepj call s:NetrwOptionsRestore("s:") let @@= ykeep @@ -7096,7 +7096,7 @@ function s:NetrwTgtMenu() return endif - " the following test assures that gvim is running, has menus available, and has menus enabled. + " the following test assures that gmnv is running, has menus available, and has menus enabled. if has("gui") && has("menu") && has("gui_running") && &go =~# 'm' && g:netrw_menu if exists("g:NetrwTopLvlMenu") exe 'sil! unmenu '.g:NetrwTopLvlMenu.'Targets' @@ -7729,7 +7729,7 @@ function s:SetupNetrwStatusLine(statline) redir @a try hi User9 - catch /^Vim\%((\a\{3,})\)\=:E411/ + catch /^MNV\%((\a\{3,})\)\=:E411/ if &bg == "dark" hi User9 ctermfg=yellow ctermbg=blue guifg=yellow guibg=blue else @@ -8132,7 +8132,7 @@ function s:NetrwRemoteRmFile(path,rmfile,all) let ret= system(netrw_rm_cmd) if v:shell_error != 0 if exists("b:netrw_curdir") && b:netrw_curdir != getcwd() && !g:netrw_keepdir - call netrw#msg#Notify('ERROR', printf("remove failed; perhaps due to vim's current directory<%s> not matching netrw's (%s) (see :help netrw-cd)", getcwd(), b:netrw_curdir)) + call netrw#msg#Notify('ERROR', printf("remove failed; perhaps due to mnv's current directory<%s> not matching netrw's (%s) (see :help netrw-cd)", getcwd(), b:netrw_curdir)) else call netrw#msg#Notify('WARNING', printf('cmd<%s> failed', netrw_rm_cmd)) endif @@ -8291,7 +8291,7 @@ endfunction " netrw#LocalBrowseCheck: {{{2 function netrw#LocalBrowseCheck(dirname) - " This function is called by netrwPlugin.vim's s:LocalBrowseCheck(), s:NetrwRexplore(), + " This function is called by netrwPlugin.mnv's s:LocalBrowseCheck(), s:NetrwRexplore(), " and by <cr> when atop a listed file/directory (via a buffer-local map) " " unfortunate interaction -- split window debugging can't be used here, must use @@ -9228,8 +9228,8 @@ function s:NetrwLcd(newdir) let err472= 0 try exe 'NetrwKeepj sil lcd '.fnameescape(a:newdir) - catch /^Vim\%((\a\+)\)\=:E344/ - " Vim's lcd fails with E344 when attempting to go above the 'root' of a Windows share. + catch /^MNV\%((\a\+)\)\=:E344/ + " MNV's lcd fails with E344 when attempting to go above the 'root' of a Windows share. " Therefore, detect if a Windows share is present, and if E344 occurs, just settle at " 'root' (ie. '\'). The share name may start with either backslashes ('\\Foo') or " forward slashes ('//Foo'), depending on whether backslashes have been converted to @@ -9240,7 +9240,7 @@ function s:NetrwLcd(newdir) exe 'NetrwKeepj sil lcd '.fnameescape(dirname) endif endif - catch /^Vim\%((\a\+)\)\=:E472/ + catch /^MNV\%((\a\+)\)\=:E472/ let err472= 1 endtry @@ -9610,7 +9610,7 @@ function s:UpdateBuffersMenu() if has("gui") && has("menu") && has("gui_running") && &go =~# 'm' && g:netrw_menu try sil emenu Buffers.Refresh\ menu - catch /^Vim\%((\a\+)\)\=:E/ + catch /^MNV\%((\a\+)\)\=:E/ let v:errmsg= "" sil NetrwKeepj call s:NetrwBMShow() endtry @@ -9672,4 +9672,4 @@ let &cpo= s:keepcpo unlet s:keepcpo " }}} -" vim:ts=8 sts=4 sw=4 et fdm=marker +" mnv:ts=8 sts=4 sw=4 et fdm=marker diff --git a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/fs.vim b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/fs.mnv index 8c002a88c5..4183c5a2e1 100644 --- a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/fs.vim +++ b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/fs.mnv @@ -1,6 +1,6 @@ -" FUNCTIONS IN THIS FILE ARE MEANT TO BE USED BY NETRW.VIM AND NETRW.VIM ONLY. +" FUNCTIONS IN THIS FILE ARE MEANT TO BE USED BY NETRW.MNV AND NETRW.MNV ONLY. " THESE FUNCTIONS DON'T COMMIT TO ANY BACKWARDS COMPATIBILITY. SO CHANGES AND -" BREAKAGES IF USED OUTSIDE OF NETRW.VIM ARE EXPECTED. +" BREAKAGES IF USED OUTSIDE OF NETRW.MNV ARE EXPECTED. " netrw#fs#PathJoin: Appends a new part to a path taking different systems into consideration {{{ @@ -186,4 +186,4 @@ endfunction " }}} -" vim:ts=8 sts=4 sw=4 et fdm=marker +" mnv:ts=8 sts=4 sw=4 et fdm=marker diff --git a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/msg.vim b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/msg.mnv index 5f8c13a8d0..102acf87d1 100644 --- a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/msg.vim +++ b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/msg.mnv @@ -1,13 +1,13 @@ -" FUNCTIONS IN THIS FILE ARE MEANT TO BE USED BY NETRW.VIM AND NETRW.VIM ONLY. +" FUNCTIONS IN THIS FILE ARE MEANT TO BE USED BY NETRW.MNV AND NETRW.MNV ONLY. " THESE FUNCTIONS DON'T COMMIT TO ANY BACKWARDS COMPATIBILITY. SO CHANGES AND -" BREAKAGES IF USED OUTSIDE OF NETRW.VIM ARE EXPECTED. +" BREAKAGES IF USED OUTSIDE OF NETRW.MNV ARE EXPECTED. let s:deprecation_msgs = [] function! netrw#msg#Deprecate(name, version, alternatives) - " If running on neovim use vim.deprecate - if has('nvim') - let s:alternative = a:alternatives->get('nvim', v:null) - call v:lua.vim.deprecate(a:name, s:alternative, a:version, "netrw", v:false) + " If running on neomnv use mnv.deprecate + if has('nmnv') + let s:alternative = a:alternatives->get('nmnv', v:null) + call v:lua.mnv.deprecate(a:name, s:alternative, a:version, "netrw", v:false) return endif @@ -16,7 +16,7 @@ function! netrw#msg#Deprecate(name, version, alternatives) return endif - let s:alternative = a:alternatives->get('vim', v:null) + let s:alternative = a:alternatives->get('mnv', v:null) echohl WarningMsg echomsg s:alternative != v:null \ ? printf('%s is deprecated, use %s instead.', a:name, s:alternative) @@ -32,8 +32,8 @@ endfunction " netrw#msg#Notify('ERROR'|'WARNING'|'NOTE', ["message1","message2",...]) " (this function can optionally take a list of messages) function! netrw#msg#Notify(level, msg) - if has('nvim') - " Convert string to corresponding vim.log.level value + if has('nmnv') + " Convert string to corresponding mnv.log.level value if a:level ==# 'ERROR' let level = 4 elseif a:level ==# 'WARNING' @@ -41,7 +41,7 @@ function! netrw#msg#Notify(level, msg) elseif a:level ==# 'NOTE' let level = 2 endif - call v:lua.vim.notify(a:msg, level) + call v:lua.mnv.notify(a:msg, level) return endif @@ -67,4 +67,4 @@ endfunction " }}} -" vim:ts=8 sts=4 sw=4 et fdm=marker +" mnv:ts=8 sts=4 sw=4 et fdm=marker diff --git a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/os.vim b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/os.mnv index 455ea5a513..2b3f4b978a 100644 --- a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/os.vim +++ b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw/os.mnv @@ -1,6 +1,6 @@ -" FUNCTIONS IN THIS FILE ARE MEANT TO BE USED BY NETRW.VIM AND NETRW.VIM ONLY. +" FUNCTIONS IN THIS FILE ARE MEANT TO BE USED BY NETRW.MNV AND NETRW.MNV ONLY. " THESE FUNCTIONS DON'T COMMIT TO ANY BACKWARDS COMPATIBILITY. SO CHANGES AND -" BREAKAGES IF USED OUTSIDE OF NETRW.VIM ARE EXPECTED. +" BREAKAGES IF USED OUTSIDE OF NETRW.MNV ARE EXPECTED. " netrw#os#Execute: executes a string using "!" {{{ @@ -36,13 +36,13 @@ endfunction " netrw#os#Open: open file with os viewer (eg. xdg-open) {{{ function! netrw#os#Open(file) abort - if has('nvim') - call luaeval('vim.ui.open(_A) and nil', a:file) + if has('nmnv') + call luaeval('mnv.ui.open(_A) and nil', a:file) else - call dist#vim9#Open(a:file) + call dist#mnv9#Open(a:file) endif endfunction " }}} -" vim:ts=8 sts=4 sw=4 et fdm=marker +" mnv:ts=8 sts=4 sw=4 et fdm=marker diff --git a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw_gitignore.vim b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw_gitignore.mnv index 75aadf2aaa..3b88f4fc2b 100644 --- a/uvim/runtime/pack/dist/opt/netrw/autoload/netrw_gitignore.vim +++ b/uvim/runtime/pack/dist/opt/netrw/autoload/netrw_gitignore.mnv @@ -15,7 +15,7 @@ " Permission is hereby granted to use and distribute this code, " with or without modifications, provided that this copyright " notice is copied with it. Like anything else that's free, -" netrw_gitignore.vim is provided *as is* and comes with no +" netrw_gitignore.mnv is provided *as is* and comes with no " warranty of any kind, either expressed or implied. By using " this plugin, you agree that in no event will the copyright " holder be liable for any damages resulting from the use @@ -25,4 +25,4 @@ function! netrw_gitignore#Hide(...) return substitute(substitute(system('git ls-files --other --ignored --exclude-standard --directory'), '\n', ',', 'g'), ',$', '', '') endfunction -" vim:ts=8 sts=4 sw=4 et fdm=marker +" mnv:ts=8 sts=4 sw=4 et fdm=marker diff --git a/uvim/runtime/pack/dist/opt/netrw/doc/netrw.txt b/uvim/runtime/pack/dist/opt/netrw/doc/netrw.txt index 01a5bda597..8d693557b4 100644 --- a/uvim/runtime/pack/dist/opt/netrw/doc/netrw.txt +++ b/uvim/runtime/pack/dist/opt/netrw/doc/netrw.txt @@ -6,9 +6,9 @@ Original Author: Charles E. Campbell Copyright: Copyright (C) 2017 Charles E Campbell *netrw-copyright* - The VIM LICENSE applies to the files in this package, including - netrw.vim, netrw.txt, and syntax/netrw.vim. - Like anything else that's free, netrw.vim and its + The MNV LICENSE applies to the files in this package, including + netrw.mnv, netrw.txt, and syntax/netrw.mnv. + Like anything else that's free, netrw.mnv and its associated files are provided *as is* and comes with no warranty of any kind, either expressed or implied. No guarantees of merchantability. No guarantees of suitability for any purpose. By @@ -18,7 +18,7 @@ Copyright: Copyright (C) 2017 Charles E Campbell *netrw-copyright* *netrw* *dav* *ftp* *netrw-file* *rcp* *scp* - *davs* *http* *netrw.vim* *rsync* *sftp* + *davs* *http* *netrw.mnv* *rsync* *sftp* *fetch* *network* ============================================================================== @@ -80,7 +80,7 @@ Copyright: Copyright (C) 2017 Charles E Campbell *netrw-copyright* Marking Files By Regular Expression.................|netrw-mr| Marked Files: Arbitrary Shell Command...............|netrw-mx| Marked Files: Arbitrary Shell Command, En Bloc......|netrw-mX| - Marked Files: Arbitrary Vim Command.................|netrw-mv| + Marked Files: Arbitrary MNV Command.................|netrw-mv| Marked Files: Argument List.........................|netrw-ma| |netrw-mA| Marked Files: Buffer List...........................|netrw-cb| |netrw-cB| Marked Files: Compression And Decompression.........|netrw-mz| @@ -114,7 +114,7 @@ Copyright: Copyright (C) 2017 Charles E Campbell *netrw-copyright* Netrw makes reading files, writing files, browsing over a network, and local browsing easy! First, make sure that you have plugins enabled, so -you'll need to have at least the following in your <.vimrc>: +you'll need to have at least the following in your <.mnvrc>: (or see |netrw-activate|) > set nocp " 'compatible' is not set @@ -126,13 +126,13 @@ Netrw supports "transparent" editing of files on other machines using urls (see |netrw-transparent|). As an example of this, let's assume you have an account on some other machine; if you can use scp, try: > - vim scp://hostname/path/to/file + mnv scp://hostname/path/to/file < Want to make ssh/scp easier to use? Check out |netrw-ssh-hack|! So, what if you have ftp, not ssh/scp? That's easy, too; try > - vim ftp://hostname/path/to/file + mnv ftp://hostname/path/to/file < Want to make ftp simpler to use? See if your ftp supports a file called <.netrc> -- typically it goes in your home directory, has read/write @@ -144,7 +144,7 @@ and has lines resembling > ... default login USERID password "PASSWORD" < -Windows' ftp doesn't support .netrc; however, one may have in one's .vimrc: > +Windows' ftp doesn't support .netrc; however, one may have in one's .mnvrc: > let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\MyUserName\MACHINE' < @@ -157,26 +157,26 @@ for each site in a separate file: c:\Users\MyUserName\MachineName. Now about browsing -- when you just want to look around before editing a file. For browsing on your current host, just "edit" a directory: > - vim . - vim /home/userid/path + mnv . + mnv /home/userid/path < For browsing on a remote host, "edit" a directory (but make sure that the directory name is followed by a "/"): > - vim scp://hostname/ - vim ftp://hostname/path/to/dir/ + mnv scp://hostname/ + mnv ftp://hostname/path/to/dir/ < See |netrw-browse| for more! There are more protocols supported by netrw than just scp and ftp, too: see the next section, |netrw-externapp|, on how to use these external applications with -netrw and vim. +netrw and mnv. PREVENTING LOADING *netrw-noload* If you want to use plugins, but for some reason don't wish to use netrw, then you need to avoid loading both the plugin and the autoload portions of netrw. -You may do so by placing the following two lines in your <.vimrc>: > +You may do so by placing the following two lines in your <.mnvrc>: > :let g:loaded_netrw = 1 :let g:loaded_netrwPlugin = 1 @@ -223,7 +223,7 @@ EXTERNAL APPLICATIONS AND PROTOCOLS *netrw-externapp* {{{2 For example, if your system has elinks, and you'd rather see the page using an attempt at rendering the text, you may wish to have > let g:netrw_http_xcmd= "-dump >" -< in your .vimrc. +< in your .mnvrc. g:netrw_http_put_cmd: this option specifies both the executable and any needed options. This command does a PUT operation to the url. @@ -357,7 +357,7 @@ preferences. Most such settings are described below, in (default) not defined. (the capital in g:Netrw... is required by its holding a function reference) > - Example: place in .vimrc; affects all file opening + Example: place in .mnvrc; affects all file opening fun! MyFuncRef() endfun let g:Netrw_funcref= function("MyFuncRef") @@ -398,8 +398,8 @@ preferences. Most such settings are described below, in *g:netrw_menu* =0 disable netrw's menu =1 (default) netrw's menu enabled - *g:netrw_uid* (ftp) user-id, retained on a per-vim-session basis - *s:netrw_passwd* (ftp) password, retained on a per-vim-session basis + *g:netrw_uid* (ftp) user-id, retained on a per-mnv-session basis + *s:netrw_passwd* (ftp) password, retained on a per-mnv-session basis *g:netrw_preview* =0 (default) preview window shown in a horizontally split window @@ -443,38 +443,38 @@ Paths to files are generally user-directory relative for most protocols. It is possible that some protocol will make paths relative to some associated directory, however. > - example: vim scp://user@host/somefile - example: vim scp://user@host/subdir1/subdir2/somefile + example: mnv scp://user@host/somefile + example: mnv scp://user@host/subdir1/subdir2/somefile < where "somefile" is in the "user"'s home directory. If you wish to get a file using root-relative paths, use the full path: > - example: vim scp://user@host//somefile - example: vim scp://user@host//subdir1/subdir2/somefile + example: mnv scp://user@host//somefile + example: mnv scp://user@host//subdir1/subdir2/somefile < ============================================================================== 4. Network-Oriented File Transfer *netrw-xfer* {{{1 -Network-oriented file transfer under Vim is implemented by a Vim script -(<netrw.vim>) using plugin techniques. It currently supports both reading and +Network-oriented file transfer under MNV is implemented by a MNV script +(<netrw.mnv>) using plugin techniques. It currently supports both reading and writing across networks using rcp, scp, ftp or ftp+<.netrc>, scp, fetch, dav/cadaver, rsync, or sftp. http is currently supported read-only via use of wget or fetch. -<netrw.vim> is a standard plugin which acts as glue between Vim and the +<netrw.mnv> is a standard plugin which acts as glue between MNV and the various file transfer programs. It uses autocommand events (BufReadCmd, FileReadCmd, BufWriteCmd) to intercept reads/writes with url-like filenames. > - ex. vim ftp://hostname/path/to/file + ex. mnv ftp://hostname/path/to/file < The characters preceding the colon specify the protocol to use; in the -example, it's ftp. The <netrw.vim> script then formulates a command or a +example, it's ftp. The <netrw.mnv> script then formulates a command or a series of commands (typically ftp) which it issues to an external program (ftp, scp, etc) which does the actual file transfer/protocol. Files are read from/written to a temporary file (under Unix/Linux, /tmp/...) which the -<netrw.vim> script will clean up. +<netrw.mnv> script will clean up. Now, a word about Jan Minář's "FTP User Name and Password Disclosure"; first, ftp is not a secure protocol. User names and passwords are transmitted "in @@ -482,7 +482,7 @@ the clear" over the internet; any snooper tool can pick these up; this is not a netrw thing, this is a ftp thing. If you're concerned about this, please try to use scp or sftp instead. -Netrw re-uses the user id and password during the same vim session and so long +Netrw re-uses the user id and password during the same mnv session and so long as the remote hostname remains the same. Jan seems to be a bit confused about how netrw handles ftp; normally multiple @@ -494,11 +494,11 @@ the uid/password at all. IMHO this would rapidly grow tiresome as one browsed remote directories, for example. On the other hand, thanks go to Jan M. for pointing out the many -vulnerabilities that netrw (and vim itself) had had in handling "crafted" +vulnerabilities that netrw (and mnv itself) had had in handling "crafted" filenames. The |shellescape()| and |fnameescape()| functions were written in response by Bram Moolenaar to handle these sort of problems, and netrw has been modified to use them. Still, my advice is, if the "filename" looks like -a vim command that you aren't comfortable with having executed, don't open it. +a mnv command that you aren't comfortable with having executed, don't open it. *netrw-putty* *netrw-pscp* *netrw-psftp* One may modify any protocol's implementing external application by setting a @@ -518,21 +518,21 @@ Unfortunately, some implementations are noisy (ie., add junk to the end of the file). Thus, concerned users may decide to write a NetReadFixup() function that will clean up after reading with their ftp. Some Unix systems (ie., FreeBSD) provide a utility called "fetch" which uses the ftp protocol but is -not noisy and more convenient, actually, for <netrw.vim> to use. +not noisy and more convenient, actually, for <netrw.mnv> to use. Consequently, if "fetch" is available (ie. executable), it may be preferable to use it for ftp://... based transfers. For rcp, scp, sftp, and http, one may use network-oriented file transfers transparently; ie. > - vim rcp://[user@]machine/path - vim scp://[user@]machine/path + mnv rcp://[user@]machine/path + mnv scp://[user@]machine/path < If your ftp supports <.netrc>, then it too can be transparently used if the needed triad of machine name, user id, and password are present in that file. Your ftp must be able to use the <.netrc> file on its own, however. > - vim ftp://[user@]machine[[:#]portnumber]/path + mnv ftp://[user@]machine[[:#]portnumber]/path < Windows provides an ftp (typically c:\Windows\System32\ftp.exe) which uses an option, -s:filename (filename can and probably should be a full path) @@ -547,7 +547,7 @@ connections for MACHINE. Hence one can have multiple machine.ftp files containing login and password for ftp. Example: > let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\Myself\MACHINE' - vim ftp://myhost.somewhere.net/ + mnv ftp://myhost.somewhere.net/ will use a file > @@ -654,7 +654,7 @@ a work-around: see |netrw-windows-s|. PASSWORD *netrw-passwd* The script attempts to get passwords for ftp invisibly using |inputsecret()|, -a built-in Vim function. See |netrw-userpass| for how to change the password +a built-in MNV function. See |netrw-userpass| for how to change the password after one has set it. Unfortunately there doesn't appear to be a way for netrw to feed a password to @@ -665,27 +665,27 @@ However, |netrw-ssh-hack| can help with this problem. ============================================================================== 5. Activation *netrw-activate* {{{1 -Network-oriented file transfers are available by default whenever Vim's +Network-oriented file transfers are available by default whenever MNV's 'nocompatible' mode is enabled. Netrw's script files reside in your system's plugin, autoload, and syntax directories; just the -plugin/netrwPlugin.vim script is sourced automatically whenever you bring up -vim. The main script in autoload/netrw.vim is only loaded when you actually +plugin/netrwPlugin.mnv script is sourced automatically whenever you bring up +mnv. The main script in autoload/netrw.mnv is only loaded when you actually use netrw. I suggest that, at a minimum, you have at least the following in -your <.vimrc> customization file: > +your <.mnvrc> customization file: > set nocp if version >= 600 filetype plugin indent on endif < -By also including the following lines in your .vimrc, one may have netrw -immediately activate when using [g]vim without any filenames, showing the +By also including the following lines in your .mnvrc, one may have netrw +immediately activate when using [g]mnv without any filenames, showing the current directory: > - " Augroup VimStartup: - augroup VimStartup + " Augroup MNVStartup: + augroup MNVStartup au! - au VimEnter * if expand("%") == "" | e . | endif + au MNVEnter * if expand("%") == "" | e . | endif augroup END < @@ -697,11 +697,11 @@ Transparent file transfers occur whenever a regular file read or write events) is made. Thus one may read, write, or source files across networks just as easily as if they were local files! > - vim ftp://[user@]machine/path + mnv ftp://[user@]machine/path ... :wq -See |netrw-activate| for more on how to encourage your vim to use plugins +See |netrw-activate| for more on how to encourage your mnv to use plugins such as netrw. For password-free use of scp:, see |netrw-ssh-hack|. @@ -737,11 +737,11 @@ below, a {netfile} is a URL to a remote file. *:Nsource* *:Ns* :Ns[ource] {netfile} Source the {netfile}. - To start up vim using a remote .vimrc, one may use + To start up mnv using a remote .mnvrc, one may use the following (all on one line) (tnx to Antoine Mechelynck) > - vim -u NORC -N - --cmd "runtime plugin/netrwPlugin.vim" - --cmd "source scp://HOSTNAME/.vimrc" + mnv -u NORC -N + --cmd "runtime plugin/netrwPlugin.mnv" + --cmd "source scp://HOSTNAME/.mnvrc" < (related: |netrw-source|) :call NetUserPass() *NetUserPass()* @@ -768,9 +768,9 @@ below, a {netfile} is a URL to a remote file. (also see: |netrw-options| |netrw-variables| |netrw-protocol| |netrw-browser-settings| |netrw-browser-options| ) -The <netrw.vim> script provides several variables which act as options to -affect <netrw.vim>'s file transfer behavior. These variables typically may be -set in the user's <.vimrc> file: (see also |netrw-settings| |netrw-protocol|) +The <netrw.mnv> script provides several variables which act as options to +affect <netrw.mnv>'s file transfer behavior. These variables typically may be +set in the user's <.mnvrc> file: (see also |netrw-settings| |netrw-protocol|) *netrw-options* > ------------- @@ -899,7 +899,7 @@ The temporary file is then read into the main editing session window that requested it and the temporary file deleted. If your ftp doesn't accept the "user" command and immediately just demands a -userid, then try putting "let netrw_ftp=1" in your <.vimrc>. +userid, then try putting "let netrw_ftp=1" in your <.mnvrc>. *netrw-cadaver* To handle the SSL certificate dialog for untrusted servers, one may pull @@ -947,9 +947,9 @@ generally implements the previous explorer's maps and commands for remote directories, although details (such as pertinent global variable names) necessarily differ. To browse a directory, simply "edit" it! > - vim /your/directory/ - vim . - vim c:\your\directory\ + mnv /your/directory/ + mnv . + mnv c:\your\directory\ < (Related topics: |netrw-cr| |netrw-o| |netrw-p| |netrw-P| |netrw-t| |netrw-mf| |netrw-mx| |netrw-D| |netrw-R| |netrw-v| ) @@ -963,11 +963,11 @@ browsing. To use Netrw's remote directory browser, simply attempt to read a "file" with a trailing slash and it will be interpreted as a request to list a directory: > - vim [protocol]://[user@]hostname/path/ + mnv [protocol]://[user@]hostname/path/ < where [protocol] is typically scp or ftp. As an example, try: > - vim ftp://ftp.home.vim.org/pub/vim/ + mnv ftp://ftp.home.mnv.org/pub/mnv/ < For local directories, the trailing slash is not required. Again, because it's easy to miss: to browse remote directories, the URL must terminate with a @@ -1037,7 +1037,7 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2 <del> Netrw will attempt to remove the file/directory |netrw-del| <c-h> Edit file hiding list |netrw-ctrl-h| <c-l> Causes Netrw to refresh the directory listing |netrw-ctrl-l| - <c-r> Browse using a gvim server |netrw-ctrl-r| + <c-r> Browse using a gmnv server |netrw-ctrl-r| <c-tab> Shrink/expand a netrw/explore window |netrw-c-tab| - Makes Netrw go up one directory |netrw--| a Cycles between normal display, |netrw-a| @@ -1061,14 +1061,14 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2 me Place marked files on arg list and edit them |netrw-me| mf Mark a file |netrw-mf| mF Unmark files |netrw-mF| - mg Apply vimgrep to marked files |netrw-mg| + mg Apply mnvgrep to marked files |netrw-mg| mh Toggle marked file suffices' presence on hiding list |netrw-mh| mm Move marked files to marked-file target directory |netrw-mm| mr Mark files using a shell-style |regexp| |netrw-mr| mt Current browsing directory becomes markfile target |netrw-mt| mT Apply ctags to marked files |netrw-mT| mu Unmark all marked files |netrw-mu| - mv Apply arbitrary vim command to marked files |netrw-mv| + mv Apply arbitrary mnv command to marked files |netrw-mv| mx Apply arbitrary shell command to marked files |netrw-mx| mX Apply arbitrary shell command to marked files en bloc|netrw-mX| mz Compress/decompress marked files |netrw-mz| @@ -1096,20 +1096,20 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2 % Open a new file in netrw's current directory |netrw-%| *netrw-mouse* *netrw-leftmouse* *netrw-middlemouse* *netrw-rightmouse* - <leftmouse> (gvim only) selects word under mouse as if a <cr> + <leftmouse> (gmnv only) selects word under mouse as if a <cr> had been pressed (ie. edit file, change directory) - <middlemouse> (gvim only) same as P selecting word under mouse; + <middlemouse> (gmnv only) same as P selecting word under mouse; see |netrw-P| - <rightmouse> (gvim only) delete file/directory using word under + <rightmouse> (gmnv only) delete file/directory using word under mouse - <2-leftmouse> (gvim only) when: + <2-leftmouse> (gmnv only) when: * in a netrw-selected file, AND * |g:netrw_retmap| == 1 AND * the user doesn't already have a <2-leftmouse> mapping defined before netrw is autoloaded, then a double clicked leftmouse button will return to the netrw browser window. See |g:netrw_retmap|. - <s-leftmouse> (gvim only) like mf, will mark files. Dragging + <s-leftmouse> (gmnv only) like mf, will mark files. Dragging the shifted leftmouse will mark multiple files. (see |netrw-mf|) @@ -1143,7 +1143,7 @@ One may easily "bookmark" the currently browsed directory by using > mb < *.netrwbook* -Bookmarks are retained in between sessions of vim in a file called .netrwbook +Bookmarks are retained in between sessions of mnv in a file called .netrwbook as a |List|, which is typically stored in the first directory on the user's 'runtimepath'; entries are kept in sorted order. @@ -1168,7 +1168,7 @@ Additionally, one may use :NetrwMB to bookmark files or directories. > The :NetrwMB command is available outside of netrw buffers (once netrw has been invoked in the session). -The file ".netrwbook" holds bookmarks when netrw (and vim) is not active. By +The file ".netrwbook" holds bookmarks when netrw (and mnv) is not active. By default, its stored on the first directory on the user's 'runtimepath'. Related Topics: @@ -1198,7 +1198,7 @@ horizontally or vertically, respectively. When the option is set to three, a <cr> will cause the file to appear in a new tab. -When using the gui (gvim), one may select a file by pressing the <leftmouse> +When using the gui (gmnv), one may select a file by pressing the <leftmouse> button. In addition, if * |g:netrw_retmap| == 1 AND (its default value is 0) @@ -1224,7 +1224,7 @@ always refresh directory listing buffers by pressing ctrl-L (see Squeezing the Current Tree-Listing Directory~ When the tree listing style is enabled (see |netrw-i|) and one is using -gvim, then the <s-cr> mapping may be used to squeeze (close) the +gmnv, then the <s-cr> mapping may be used to squeeze (close) the directory currently containing the cursor. Otherwise, one may remap a key combination of one's own choice to get @@ -1232,7 +1232,7 @@ this effect: > nmap <buffer> <silent> <nowait> YOURKEYCOMBO <Plug>NetrwTreeSqueeze < -Put this line in $HOME/ftplugin/netrw/netrw.vim; it needs to be generated +Put this line in $HOME/ftplugin/netrw/netrw.mnv; it needs to be generated for netrw buffers only. Related topics: @@ -1297,11 +1297,11 @@ Associated setting variables: |g:netrw_winsize| control initial sizing -BROWSING USING A GVIM SERVER *netrw-ctrl-r* {{{2 +BROWSING USING A GMNV SERVER *netrw-ctrl-r* {{{2 -One may keep a browsing gvim separate from the gvim being used to edit. +One may keep a browsing gmnv separate from the gmnv being used to edit. Use the <c-r> map on a file (not a directory) in the netrw browser, and it -will use a gvim server (see |g:netrw_servername|). Subsequent use of <cr> +will use a gmnv server (see |g:netrw_servername|). Subsequent use of <cr> (see |netrw-cr|) will re-use that server for editing files. Related topics: @@ -1336,13 +1336,13 @@ open and close directories by pressing the <cr> key while atop the directory name. One may make a preferred listing style your default; see |g:netrw_liststyle|. -As an example, by putting the following line in your .vimrc, > +As an example, by putting the following line in your .mnvrc, > let g:netrw_liststyle= 3 the tree style will become your default listing style. One typical way to use the netrw tree display is to: > - vim . + mnv . (use i until a tree display shows) navigate to a file v (edit as desired in vertically split window) @@ -1393,7 +1393,7 @@ used in that count. *.netrwhist* See |g:netrw_dirhistmax| for how to control the quantity of history stack -slots. The file ".netrwhist" holds history when netrw (and vim) is not +slots. The file ".netrwhist" holds history when netrw (and mnv) is not active. By default, its stored on the first directory on the user's 'runtimepath'. @@ -1596,7 +1596,7 @@ The optional parameters are: will return to editing the file that was last edited in that window. - The <2-leftmouse> map (which is only available under gvim and + The <2-leftmouse> map (which is only available under gmnv and cooperative terms) does the same as :Rexplore. Also see: |g:netrw_alto| |g:netrw_altv| |g:netrw_winsize| @@ -1614,9 +1614,9 @@ with remote file browsing. **/filepat files in current directory or below which satisfy the file pattern *//pattern files in the current directory which contain the - pattern (vimgrep is used) + pattern (mnvgrep is used) **//pattern files in the current directory or below which contain - the pattern (vimgrep is used) + the pattern (mnvgrep is used) < The cursor will be placed on the first file in the list. One may then continue to go to subsequent files on that list via |:Nexplore| or to @@ -1703,7 +1703,7 @@ Otherwise: > < The lone * is where all filenames not covered by one of the other patterns will end up. One may change the sorting sequence by modifying the -g:netrw_sort_sequence variable (either manually or in your <.vimrc>) or by +g:netrw_sort_sequence variable (either manually or in your <.mnvrc>) or by using the "S" map. Related topics: |netrw-s| |netrw-S| @@ -1766,7 +1766,7 @@ based on regular expressions (ex. ^.*\.obj$,^\.) which specify the hiding list. (also see |netrw-ctrl-h|) To set the hiding list, use the <c-h> map. As an example, to hide files which begin with a ".", one may use the <c-h> map to set the hiding list to '^\..*' (or one may put let g:netrw_list_hide= '^\..*' -in one's <.vimrc>). One may then use the "a" key to show all files, hide +in one's <.mnvrc>). One may then use the "a" key to show all files, hide matching files, or to show only the matching files. Example: \.[ch]$ @@ -1879,16 +1879,16 @@ If you decided to use a passphrase, do: > ssh-add ssh {serverhostname} You will be prompted for your key passphrase when you use ssh-add, but not -subsequently when you use ssh. For use with vim, you can use > - ssh-agent vim -and, when next within vim, use > +subsequently when you use ssh. For use with mnv, you can use > + ssh-agent mnv +and, when next within mnv, use > :!ssh-add Alternatively, you can apply ssh-agent to the terminal you're planning on -running vim in: > +running mnv in: > ssh-agent xterm & and do ssh-add whenever you need. -For Windows, folks on the vim mailing list have mentioned that Pageant helps +For Windows, folks on the mnv mailing list have mentioned that Pageant helps with avoiding the constant need to enter the password. Kingston Fung wrote about another way to avoid constantly needing to enter @@ -1940,13 +1940,13 @@ By default, |g:netrw_keepdir| is 1. This setting means that the current directory will not track the browsing directory. (done for backwards compatibility with v6's file explorer). -Setting g:netrw_keepdir to 0 tells netrw to make vim's current directory +Setting g:netrw_keepdir to 0 tells netrw to make mnv's current directory track netrw's browsing directory. However, given the default setting for g:netrw_keepdir of 1 where netrw maintains its own separate notion of the current directory, in order to make the two directories the same, use the "cd" map (type cd). That map will -set Vim's notion of the current directory to netrw's current browsing +set MNV's notion of the current directory to netrw's current browsing directory. |netrw-cd| : This map's name was changed from "c" to cd (see |netrw-cd|). @@ -1962,7 +1962,7 @@ Netrw provides several ways to mark files: * One may mark files with the cursor atop a filename and then pressing "mf". - * With gvim, in addition one may mark files with + * With gmnv, in addition one may mark files with <s-leftmouse>. (see |netrw-mouse|) * One may use the :MF command, which takes a list of @@ -1990,15 +1990,15 @@ The following netrw maps make use of marked files: |netrw-mb| Append marked files to bookmarks |netrw-mB| Delete marked files from bookmarks |netrw-mc| Copy marked files to target - |netrw-md| Apply vimdiff to marked files + |netrw-md| Apply mnvdiff to marked files |netrw-me| Edit marked files |netrw-mF| Unmark marked files - |netrw-mg| Apply vimgrep to marked files + |netrw-mg| Apply mnvgrep to marked files |netrw-mm| Move marked files to target |netrw-ms| Netrw will source marked files |netrw-mt| Set target for |netrw-mm| and |netrw-mc| |netrw-mT| Generate tags using marked files - |netrw-mv| Apply vim command to marked files + |netrw-mv| Apply mnv command to marked files |netrw-mx| Apply shell command to marked files |netrw-mX| Apply shell command to marked files, en bloc |netrw-mz| Compress/Decompress marked files @@ -2007,7 +2007,7 @@ The following netrw maps make use of marked files: One may unmark files one at a time the same way one marks them; ie. place the cursor atop a marked file and press "mf". This process also works -with <s-leftmouse> using gvim. One may unmark all files by pressing +with <s-leftmouse> using gmnv. One may unmark all files by pressing "mu" (see |netrw-mu|). Marked files are highlighted using the "netrwMarkFile" highlighting group, @@ -2018,9 +2018,9 @@ like > highlight clear netrwMarkFile hi link netrwMarkFile ..whatever.. < -into $HOME/.vim/after/syntax/netrw.vim . +into $HOME/.mnv/after/syntax/netrw.mnv . -If the mouse is enabled and works with your vim, you may use <s-leftmouse> to +If the mouse is enabled and works with your mnv, you may use <s-leftmouse> to mark one or more files. You may mark multiple files by dragging the shifted leftmouse. (see |netrw-mouse|) @@ -2057,7 +2057,7 @@ MARKING FILES BY QUICKFIX LIST *netrw-qF* {{{2 One may convert |quickfix-error-lists| into a marked file list using "qF". You may then proceed with commands such as me (|netrw-me|) to edit them. -Quickfix error lists are generated, for example, by calls to |:vimgrep|. +Quickfix error lists are generated, for example, by calls to |:mnvgrep|. MARKING FILES BY REGULAR EXPRESSION *netrw-mr* {{{2 @@ -2074,19 +2074,19 @@ See |cmdline-window| for directions on more on how to edit the regular expression. -MARKED FILES, ARBITRARY VIM COMMAND *netrw-mv* {{{2 +MARKED FILES, ARBITRARY MNV COMMAND *netrw-mv* {{{2 (See |netrw-mf| and |netrw-mr| for how to mark files) (uses the local marked-file list) -The "mv" map causes netrw to execute an arbitrary vim command on each file on +The "mv" map causes netrw to execute an arbitrary mnv command on each file on the local marked file list, individually: * 1split * sil! keepalt e file - * run vim command + * run mnv command * sil! keepalt wq! -A prompt, "Enter vim command: ", will be issued to elicit the vim command you +A prompt, "Enter mnv command: ", will be issued to elicit the mnv command you wish used. See |cmdline-window| for directions for more on how to edit the command. @@ -2193,7 +2193,7 @@ MARKED FILES: DIFF *netrw-md* {{{2 (See |netrw-mf| and |netrw-mr| for how to mark files) (uses the global marked file list) -Use |vimdiff| to visualize difference between selected files (two or +Use |mnvdiff| to visualize difference between selected files (two or three may be selected for this). Uses the global marked file list. MARKED FILES: EDITING *netrw-me* {{{2 @@ -2208,7 +2208,7 @@ MARKED FILES: GREP *netrw-mg* {{{2 (See |netrw-mf| and |netrw-mr| for how to mark files) (uses the global marked file list) -The "mg" command will apply |:vimgrep| to the marked files. +The "mg" command will apply |:mnvgrep| to the marked files. The command will ask for the requested pattern; one may then enter: > /pattern/[g][j] @@ -2216,7 +2216,7 @@ The command will ask for the requested pattern; one may then enter: > pattern < With /pattern/, editing will start with the first item on the |quickfix| list -that vimgrep sets up (see |:copen|, |:cnext|, |:cprevious|, |:cclose|). The |:vimgrep| +that mnvgrep sets up (see |:copen|, |:cnext|, |:cprevious|, |:cclose|). The |:mnvgrep| command is in use, so without 'g' each line is added to quickfix list only once; with 'g' every match is included. @@ -2263,7 +2263,7 @@ MARKED FILES: SOURCING *netrw-ms* {{{2 (See |netrw-mf| and |netrw-mr| for how to mark files) (uses the local marked file list) -With "ms", netrw will source the marked files (using vim's |:source| command) +With "ms", netrw will source the marked files (using mnv's |:source| command) MARKED FILES: SETTING THE TARGET DIRECTORY *netrw-mt* {{{2 @@ -2286,14 +2286,14 @@ Set the marked file copy/move-to target (see |netrw-mc| and |netrw-mm|): This command uses |<q-args>|, so spaces in the directory name are permitted without escaping. - * With mouse-enabled vim or with gvim, one may select a target by using + * With mouse-enabled mnv or with gmnv, one may select a target by using <c-leftmouse> -There is only one copy/move-to target at a time in a vim session; ie. the +There is only one copy/move-to target at a time in a mnv session; ie. the target is a script variable (see |s:var|) and is shared between all netrw -windows (in an instance of vim). +windows (in an instance of mnv). -When using menus and gvim, netrw provides a "Targets" entry which allows one +When using menus and gmnv, netrw provides a "Targets" entry which allows one to pick a target from the list of bookmarks and history. Related topics: @@ -2316,7 +2316,7 @@ http://www.drchip.org/astronaut/src/index.html , and have > let g:netrw_ctags= "hdrtag" < -in my <.vimrc>. +in my <.mnvrc>. When a remote set of files are tagged, the resulting tags file is "obtained"; ie. a copy is transferred to the local system's directory. The now local tags @@ -2379,8 +2379,8 @@ NETRW BROWSER VARIABLES *netrw-browser-options* *netrw-browser-var* {{{2 (if you're interested in the netrw file transfer settings, see |netrw-options| and |netrw-protocol|) -The <netrw.vim> browser provides settings in the form of variables which -you may modify; by placing these settings in your <.vimrc>, you may customize +The <netrw.mnv> browser provides settings in the form of variables which +you may modify; by placing these settings in your <.mnvrc>, you may customize your browsing preferences. (see also: |netrw-settings|) > --- ----------- @@ -2775,7 +2775,7 @@ your browsing preferences. (see also: |netrw-settings|) variable's value is appended to the sort command. Thus one may ignore case, for example, with the following in your - .vimrc: > + .mnvrc: > let g:netrw_sort_options="i" < default: "" @@ -2816,10 +2816,10 @@ your browsing preferences. (see also: |netrw-settings|) to netrwGray or Folded by default (see |hl-Folded|), but one may put lines like > hi link netrwCompress Visual -< into one's <.vimrc> to use one's own +< into one's <.mnvrc> to use one's own preferences. Alternatively, one may put such specifications into > - .vim/after/syntax/netrw.vim. + .mnv/after/syntax/netrw.mnv. < The netrwGray highlighting is set up by netrw when > * netrwGray has not been previously @@ -2827,7 +2827,7 @@ your browsing preferences. (see also: |netrw-settings|) * the gui is running < As an example, I myself use a dark-background colorscheme with the following in - .vim/after/syntax/netrw.vim: > + .mnv/after/syntax/netrw.mnv: > hi netrwCompress term=NONE cterm=NONE gui=NONE ctermfg=10 guifg=green ctermbg=0 guibg=black hi netrwData term=NONE cterm=NONE gui=NONE ctermfg=9 guifg=blue ctermbg=0 guibg=black @@ -2858,7 +2858,7 @@ your browsing preferences. (see also: |netrw-settings|) escape() is applied to all temporary files to escape these characters. - *g:netrw_timefmt* specify format string to vim's strftime(). + *g:netrw_timefmt* specify format string to mnv's strftime(). The default, "%c", is "the preferred date and time representation for the current locale" according to my manpage entry for @@ -2874,7 +2874,7 @@ your browsing preferences. (see also: |netrw-settings|) ml_get errors to appear; if you're getting ml_get errors, try putting let g:netrw_use_noswf= 0 - in your .vimrc. + in your .mnvrc. default: 1 *g:netrw_winsize* specify initial size of new windows made with @@ -2899,7 +2899,7 @@ your browsing preferences. (see also: |netrw-settings|) *g:netrw_xstrlen* Controls how netrw computes string lengths, including multi-byte characters' string length. (thanks to N Weibull, T Mechelynck) - =0: uses Vim's built-in strlen() + =0: uses MNV's built-in strlen() =1: number of codepoints (Latin a + combining circumflex is two codepoints) (DEFAULT) =2: number of spacing codepoints (Latin a + @@ -2915,7 +2915,7 @@ your browsing preferences. (see also: |netrw-settings|) *g:NetrwTopLvlMenu* This variable specifies the top level menu name; by default, it's "Netrw.". If you wish to change this, do so in your - .vimrc. + .mnvrc. NETRW BROWSING AND OPTION INCOMPATIBILITIES *netrw-incompatible* {{{2 @@ -2949,10 +2949,10 @@ then show, on its right hand side, a message like "Obtaining filename". The statusline will be restored after the transfer is complete. Netrw can also "obtain" a file using the local browser. Netrw's display -of a directory is not necessarily the same as Vim's "current directory", -unless |g:netrw_keepdir| is set to 0 in the user's <.vimrc>. One may select +of a directory is not necessarily the same as MNV's "current directory", +unless |g:netrw_keepdir| is set to 0 in the user's <.mnvrc>. One may select a file using the local browser (by putting the cursor on it) and pressing -"O" will then "obtain" the file; ie. copy it to Vim's current directory. +"O" will then "obtain" the file; ie. copy it to MNV's current directory. Related topics: * To see what the current directory is, use |:pwd| @@ -3226,14 +3226,14 @@ Example: Clear netrw's marked file list via a mapping on gu > gives an explanatory character (ABC/ for "ABC is a directory"). Netrw then uses "dir" to get both its thin and long listings. If you think your ftp does support a full-up ls, put the - following into your <.vimrc>: > + following into your <.mnvrc>: > let g:netrw_ftp_list_cmd = "ls -lF" let g:netrw_ftp_timelist_cmd= "ls -tlF" let g:netrw_ftp_sizelist_cmd= "ls -slF" < Alternatively, if you have cygwin on your Windows box, put - into your <.vimrc>: > + into your <.mnvrc>: > let g:netrw_cygwin= 1 < @@ -3255,7 +3255,7 @@ Example: Clear netrw's marked file list via a mapping on gu > *netrw-p3* P3. I would like long listings to be the default. {{{2 - Put the following statement into your |.vimrc|: > + Put the following statement into your |.mnvrc|: > let g:netrw_liststyle= 1 < @@ -3268,7 +3268,7 @@ Example: Clear netrw's marked file list via a mapping on gu > Does your system's strftime() accept the "%c" to yield dates such as "Sun Apr 27 11:49:23 1997"? If not, do a "man strftime" and find out what option should be used. Then - put it into your |.vimrc|: > + put it into your |.mnvrc|: > let g:netrw_timefmt= "%X" (where X is the option) < @@ -3276,7 +3276,7 @@ Example: Clear netrw's marked file list via a mapping on gu > P5. I want my current directory to track my browsing. {{{2 How do I do that? - Put the following line in your |.vimrc|: + Put the following line in your |.mnvrc|: > let g:netrw_keepdir= 0 < @@ -3284,9 +3284,9 @@ Example: Clear netrw's marked file list via a mapping on gu > P6. I use Chinese (or other non-ascii) characters in my filenames, {{{2 and netrw (Explore, Sexplore, Hexplore, etc) doesn't display them! - (taken from an answer provided by Wu Yongwei on the vim + (taken from an answer provided by Wu Yongwei on the mnv mailing list) - I now see the problem. Your code page is not 936, right? Vim + I now see the problem. Your code page is not 936, right? MNV seems only able to open files with names that are valid in the current code page, as are many other applications that do not use the Unicode version of Windows APIs. This is an OS-related @@ -3334,12 +3334,12 @@ Example: Clear netrw's marked file list via a mapping on gu > cmd.exe "Dos box". (dave) Download WinSCP and use that to connect to the server. - In Preferences > Editors, set gvim as your editor: + In Preferences > Editors, set gmnv as your editor: - Click "Add..." - Set External Editor (adjust path as needed, include the quotes and !.! at the end): - "c:\Program Files\Vim\vim82\gvim.exe" !.! + "c:\Program Files\MNV\mnv82\gmnv.exe" !.! - Check that the filetype in the box below is {asterisk}.{asterisk} (all files), or whatever types you want (cec: change {asterisk} to * ; I had to @@ -3348,7 +3348,7 @@ Example: Clear netrw's marked file list via a mapping on gu > - Make sure it's at the top of the listbox (click it, then click "Up" if it's not) If using the Norton Commander style, you just have to hit <F4> - to edit a file in a local copy of gvim. + to edit a file in a local copy of gmnv. (Vit Gottwald) How to generate public/private key and save public key it on server: > @@ -3369,7 +3369,7 @@ Example: Clear netrw's marked file list via a mapping on gu > (cec) To make proper use of these suggestions above, you will need to modify the following user-settable variables in your - .vimrc: + .mnvrc: |g:netrw_ssh_cmd| |g:netrw_list_cmd| |g:netrw_mkdir_cmd| |g:netrw_rm_cmd| |g:netrw_rmdir_cmd| |g:netrw_rmf_cmd| @@ -3380,25 +3380,25 @@ Example: Clear netrw's marked file list via a mapping on gu > *netrw-p8* *netrw-ml_get* P8. I'm browsing, changing directory, and bang! ml_get errors {{{2 - appear and I have to kill vim. Any way around this? + appear and I have to kill mnv. Any way around this? Normally netrw attempts to avoid writing swapfiles for its temporary directory buffers. However, on some systems this attempt appears to be causing ml_get errors to appear. Please try setting |g:netrw_use_noswf| to 0 - in your <.vimrc>: > + in your <.mnvrc>: > let g:netrw_use_noswf= 0 < *netrw-p9* P9. I'm being pestered with "[something] is a directory" and {{{2 "Press ENTER or type command to continue" prompts... - The "[something] is a directory" prompt is issued by Vim, + The "[something] is a directory" prompt is issued by MNV, not by netrw, and there appears to be no way to work around it. Coupled with the default cmdheight of 1, this message causes the "Press ENTER..." prompt. So: read |hit-enter|; I also suggest that you set your 'cmdheight' to 2 (or more) in - your <.vimrc> file. + your <.mnvrc> file. *netrw-p10* P10. I want to have two windows; a thin one on the left and my {{{2 @@ -3412,16 +3412,16 @@ Example: Clear netrw's marked file list via a mapping on gu > Previous solution: - * Put the following line in your <.vimrc>: + * Put the following line in your <.mnvrc>: let g:netrw_altv = 1 * Edit the current directory: :e . * Select some file, press v * Resize the windows as you wish (see |CTRL-W_<| and - |CTRL-W_>|). If you're using gvim, you can drag + |CTRL-W_>|). If you're using gmnv, you can drag the separating bar with your mouse. * When you want a new file, use ctrl-w h to go back to the netrw browser, select a file, then press P (see |CTRL-W_h| - and |netrw-P|). If you're using gvim, you can press + and |netrw-P|). If you're using gmnv, you can press <leftmouse> in the browser window and then press the <middlemouse> to select the file. @@ -3442,7 +3442,7 @@ Example: Clear netrw's marked file list via a mapping on gu > them as file transfers instead of as attempts to browse subdirectories. How may I fix this? - (mikeyao) If you want to use vim via ssh and putty under Windows, + (mikeyao) If you want to use mnv via ssh and putty under Windows, try combining the use of pscp/psftp with plink. pscp/psftp will be used to connect and plink will be used to execute commands on the server, for example: list files and directory using 'ls'. @@ -3479,10 +3479,10 @@ Example: Clear netrw's marked file list via a mapping on gu > ssh -N host.domain.com -< Now remotely open a file with Vim's Netrw and enjoy the +< Now remotely open a file with MNV's Netrw and enjoy the zippiness: > - vim scp://host.domain.com//home/user/.bashrc + mnv scp://host.domain.com//home/user/.bashrc < *netrw-p14* P14. How may I use a double-click instead of netrw's usual single {{{2 @@ -3491,7 +3491,7 @@ Example: Clear netrw's marked file list via a mapping on gu > First, disable netrw's mapping with > let g:netrw_mousemaps= 0 < and then create a netrw buffer only mapping in - $HOME/.vim/after/ftplugin/netrw.vim: > + $HOME/.mnv/after/ftplugin/netrw.mnv: > nmap <buffer> <2-leftmouse> <CR> < Note that setting g:netrw_mousemaps to zero will turn off all netrw's mouse mappings, not just the <leftmouse> one. @@ -3502,7 +3502,7 @@ Example: Clear netrw's marked file list via a mapping on gu > under Windows I get an |E303| message complaining that its unable to open a swap file. - (romainl) It looks like you are starting Vim from a protected + (romainl) It looks like you are starting MNV from a protected directory. Start netrw from your $HOME or other writable directory. @@ -3515,7 +3515,7 @@ Example: Clear netrw's marked file list via a mapping on gu > What is the expected output? What do you see instead? I expect both buffers to exist, but only the last one does. - (Lance) Problem is caused by "set autochdir" in .vimrc. + (Lance) Problem is caused by "set autochdir" in .mnvrc. (drchip) I am able to duplicate this problem with 'acd' set. It appears that the buffers are not exactly closed; a ":ls!" will show them (although ":ls" does not). @@ -3524,7 +3524,7 @@ Example: Clear netrw's marked file list via a mapping on gu > P17. How to locally edit a file that's only available via {{{2 another server accessible via ssh? See http://stackoverflow.com/questions/12469645/ - "Using Vim to Remotely Edit A File on ServerB Only + "Using MNV to Remotely Edit A File on ServerB Only Accessible From ServerA" *netrw-P18* @@ -3532,29 +3532,29 @@ Example: Clear netrw's marked file list via a mapping on gu > With |g:netrw_bufsettings|, you can control netrw's buffer settings; try putting > let g:netrw_bufsettings="noma nomod nu nobl nowrap ro nornu" -< in your .vimrc. If you'd like to have relative numbering +< in your .mnvrc. If you'd like to have relative numbering instead, try > let g:netrw_bufsettings="noma nomod nonu nobl nowrap ro rnu" < *netrw-P19* - P19. How may I have gvim start up showing a directory listing? {{{2 - Try putting the following code snippet into your .vimrc: > - augroup VimStartup + P19. How may I have gmnv start up showing a directory listing? {{{2 + Try putting the following code snippet into your .mnvrc: > + augroup MNVStartup au! - au VimEnter * if expand("%") == "" && argc() == 0 && - \ (v:servername =~ 'GVIM\d*' || v:servername == "") + au MNVEnter * if expand("%") == "" && argc() == 0 && + \ (v:servername =~ 'GMNV\d*' || v:servername == "") \ | e . | endif augroup END < You may use Lexplore instead of "e" if you're so inclined. This snippet assumes that you have client-server enabled - (ie. a "huge" vim version). + (ie. a "huge" mnv version). *netrw-P20* P20. I've made a directory (or file) with an accented character, {{{2 but netrw isn't letting me enter that directory/read that file: Its likely that the shell or o/s is using a different encoding - than you have vim (netrw) using. A patch to vim supporting + than you have mnv (netrw) using. A patch to mnv supporting "systemencoding" may address this issue in the future; for now, just have netrw use the proper encoding. For example: > @@ -3573,8 +3573,8 @@ Example: Clear netrw's marked file list via a mapping on gu > |g:netrw_mkdir_cmd|). You may need to adjust the default commands for one or more of - these commands by setting them properly in your .vimrc. Another - source of difficulty is that these commands use vim's local + these commands by setting them properly in your .mnvrc. Another + source of difficulty is that these commands use mnv's local directory, which may not be the same as the browsing directory shown by netrw (see |g:netrw_keepdir|). @@ -3582,7 +3582,7 @@ Example: Clear netrw's marked file list via a mapping on gu > ============================================================================== 11. Credits *netrw-credits* {{{1 - Vim editor by Bram Moolenaar (Thanks, Bram!) + MNV editor by Bram Moolenaar (Thanks, Bram!) dav support by C Campbell fetch support by Bram Moolenaar and C Campbell ftp support by C Campbell <NcampObell@SdrPchip.AorgM-NOSPAM> @@ -3595,7 +3595,7 @@ Example: Clear netrw's marked file list via a mapping on gu > inputsecret(), BufReadCmd, BufWriteCmd contributed by C Campbell Jérôme Augé -- also using new buffer method with ftp+.netrc - Bram Moolenaar -- obviously vim itself, :e and v:cmdarg use, + Bram Moolenaar -- obviously mnv itself, :e and v:cmdarg use, fetch,... Yasuhiro Matsumoto -- pointing out undo+0r problem and a solution Erik Warendorph -- for several suggestions (g:netrw_..._cmd @@ -3605,4 +3605,4 @@ Example: Clear netrw's marked file list via a mapping on gu > ============================================================================== Modelines: {{{1 -vim:tw=78:ts=8:ft=help:noet:norl:fdm=marker +mnv:tw=78:ts=8:ft=help:noet:norl:fdm=marker diff --git a/uvim/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim b/uvim/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.mnv index da0db3f925..b470c826a2 100644 --- a/uvim/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim +++ b/uvim/runtime/pack/dist/opt/netrw/plugin/netrwPlugin.mnv @@ -5,7 +5,7 @@ " Permission is hereby granted to use and distribute this code, " with or without modifications, provided that this copyright " notice is copied with it. Like anything else that's free, -" netrw.vim, netrwPlugin.vim, and netrwSettings.vim are provided +" netrw.mnv, netrwPlugin.mnv, and netrwSettings.mnv are provided " *as is* and comes with no warranty of any kind, either " expressed or implied. By using this plugin, you agree that " in no event will the copyright holder be liable for any damages @@ -18,7 +18,7 @@ endif let g:loaded_netrwPlugin = "v184" let s:keepcpo = &cpo -set cpo&vim +set cpo&mnv " Local Browsing Autocmds: {{{ @@ -26,7 +26,7 @@ augroup FileExplorer au! au BufLeave * if &ft != "netrw"|let w:netrw_prvfile= expand("%:p")|endif au BufEnter * sil call s:LocalBrowse(expand("<amatch>")) - au VimEnter * sil call s:VimEnter(expand("<amatch>")) + au MNVEnter * sil call s:MNVEnter(expand("<amatch>")) if has("win32") au BufEnter .* sil call s:LocalBrowse(expand("<amatch>")) endif @@ -44,7 +44,7 @@ augroup Network au FileWriteCmd ftp://*,rcp://*,scp://*,http://*,file://*,dav://*,davs://*,rsync://*,sftp://* exe "sil doau FileWritePre ".fnameescape(expand("<amatch>"))|exe "'[,']".'Nwrite '.fnameescape(expand("<amatch>"))|exe "sil doau FileWritePost ".fnameescape(expand("<amatch>")) try au SourceCmd ftp://*,rcp://*,scp://*,http://*,file://*,https://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource '.fnameescape(expand("<amatch>")) - catch /^Vim\%((\a\+)\)\=:E216/ + catch /^MNV\%((\a\+)\)\=:E216/ au SourcePre ftp://*,rcp://*,scp://*,http://*,file://*,https://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource '.fnameescape(expand("<amatch>")) endtry augroup END @@ -85,14 +85,14 @@ endif function! s:LocalBrowse(dirname) " do not trigger in the terminal - " https://github.com/vim/vim/issues/16463 + " https://github.com/Project-Tick/Project-Tick/issues/16463 if &buftype ==# 'terminal' return endif - if !exists("s:vimentered") - " If s:vimentered doesn't exist, then the VimEnter event hasn't fired. It will, - " and so s:VimEnter() will then be calling this routine, but this time with s:vimentered defined. + if !exists("s:mnventered") + " If s:mnventered doesn't exist, then the MNVEnter event hasn't fired. It will, + " and so s:MNVEnter() will then be calling this routine, but this time with s:mnventered defined. return endif @@ -108,7 +108,7 @@ function! s:LocalBrowse(dirname) endif elseif isdirectory(a:dirname) " Jul 13, 2021: for whatever reason, preceding the following call with - " a sil! causes an unbalanced if-endif vim error + " a sil! causes an unbalanced if-endif mnv error call netrw#LocalBrowseCheck(a:dirname) if exists("w:netrw_bannercnt") && line('.') < w:netrw_bannercnt exe w:netrw_bannercnt @@ -117,27 +117,27 @@ function! s:LocalBrowse(dirname) endfunction " }}} -" s:VimEnter: after all vim startup stuff is done, this function is called. {{{ +" s:MNVEnter: after all mnv startup stuff is done, this function is called. {{{ " Its purpose: to look over all windows and run s:LocalBrowse() on " them, which checks if they're directories and will create a directory " listing when appropriate. -" It also sets s:vimentered, letting s:LocalBrowse() know that s:VimEnter() +" It also sets s:mnventered, letting s:LocalBrowse() know that s:MNVEnter() " has already been called. -function! s:VimEnter(dirname) - if has('nvim') || v:version < 802 +function! s:MNVEnter(dirname) + if has('nmnv') || v:version < 802 " Johann Höchtl: reported that the call range... line causes an E488: Trailing characters - " error with neovim. I suspect its because neovim hasn't updated with recent - " vim patches. As is, this code will have problems with popup terminals - " instantiated before the VimEnter event runs. - " Ingo Karkat : E488 also in Vim 8.1.1602 + " error with neomnv. I suspect its because neomnv hasn't updated with recent + " mnv patches. As is, this code will have problems with popup terminals + " instantiated before the MNVEnter event runs. + " Ingo Karkat : E488 also in MNV 8.1.1602 let curwin = winnr() - let s:vimentered = 1 + let s:mnventered = 1 windo call s:LocalBrowse(expand("%:p")) exe curwin."wincmd w" else " the following complicated expression comes courtesy of lacygoill; largely does the same thing as the windo and - " wincmd which are commented out, but avoids some side effects. Allows popup terminal before VimEnter. - let s:vimentered = 1 + " wincmd which are commented out, but avoids some side effects. Allows popup terminal before MNVEnter. + let s:mnventered = 1 call range(1, winnr('$'))->map({_, v -> win_execute(win_getid(v), 'call expand("%:p")->s:LocalBrowse()')}) endif endfunction @@ -147,8 +147,8 @@ endfunction function NetUserPass(...) call netrw#msg#Deprecate('NetUserPass', 'v185', { - \ 'vim': 'netrw#NetUserPass()', - \ 'nvim': 'netrw#NetUserPass()' + \ 'mnv': 'netrw#NetUserPass()', + \ 'nmnv': 'netrw#NetUserPass()' \}) if a:0 call netrw#NetUserPass(a:000) @@ -162,4 +162,4 @@ endfunction let &cpo= s:keepcpo unlet s:keepcpo -" vim:ts=8 sts=4 sw=4 et fdm=marker +" mnv:ts=8 sts=4 sw=4 et fdm=marker diff --git a/uvim/runtime/pack/dist/opt/netrw/syntax/netrw.vim b/uvim/runtime/pack/dist/opt/netrw/syntax/netrw.mnv index 2c0b9acb75..c28d9bad56 100644 --- a/uvim/runtime/pack/dist/opt/netrw/syntax/netrw.vim +++ b/uvim/runtime/pack/dist/opt/netrw/syntax/netrw.mnv @@ -147,4 +147,4 @@ endif " }}} -" vim:ts=8 sts=4 sw=4 et fdm=marker +" mnv:ts=8 sts=4 sw=4 et fdm=marker diff --git a/uvim/runtime/pack/dist/opt/nohlsearch/plugin/nohlsearch.vim b/uvim/runtime/pack/dist/opt/nohlsearch/plugin/nohlsearch.mnv index 58613a2f03..f98aa899fe 100644 --- a/uvim/runtime/pack/dist/opt/nohlsearch/plugin/nohlsearch.vim +++ b/uvim/runtime/pack/dist/opt/nohlsearch/plugin/nohlsearch.mnv @@ -1,4 +1,4 @@ -" nohlsearch.vim: Auto turn off hlsearch +" nohlsearch.mnv: Auto turn off hlsearch " Last Change: 2025-03-08 " Maintainer: Maxim Kim <habamax@gmail.com> " diff --git a/uvim/runtime/pack/dist/opt/osc52/autoload/osc52.vim b/uvim/runtime/pack/dist/opt/osc52/autoload/osc52.mnv index 3471329d7f..fc114f0414 100644 --- a/uvim/runtime/pack/dist/opt/osc52/autoload/osc52.vim +++ b/uvim/runtime/pack/dist/opt/osc52/autoload/osc52.mnv @@ -1,4 +1,4 @@ -vim9script +mnv9script export var allowed: bool = false @@ -51,7 +51,7 @@ export def Paste(reg: string): tuple<string, list<string>> # This doesn't seem to catch Ctrl-C sent via term_sendkeys(), which is used in # tests. So also check the result of getcharstr()/getchar(). - catch /^Vim:Interrupt$/ + catch /^MNV:Interrupt$/ interrupt = true finally timer_stop(timerid) @@ -94,4 +94,4 @@ export def Copy(reg: string, type: string, lines: list<string>): void endif enddef -# vim: set sw=2 sts=2 : +# mnv: set sw=2 sts=2 : diff --git a/uvim/runtime/pack/dist/opt/osc52/doc/osc52.txt b/uvim/runtime/pack/dist/opt/osc52/doc/osc52.txt index 7ac73c076d..702654f68b 100644 --- a/uvim/runtime/pack/dist/opt/osc52/doc/osc52.txt +++ b/uvim/runtime/pack/dist/opt/osc52/doc/osc52.txt @@ -1,23 +1,23 @@ -*osc52.txt* For Vim version 9.1. Last change: 2025 Dec 18 +*osc52.txt* For MNV version 9.1. Last change: 2025 Dec 18 - VIM REFERENCE MANUAL + MNV REFERENCE MANUAL Use the OSC 52 terminal command for clipboard support ============================================================================== 1. OVERVIEW *osc52-overview* -The osc52.vim plugin provides support for the OSC 52 terminal command, which +The osc52.mnv plugin provides support for the OSC 52 terminal command, which allows an application to access the clipboard by communicating with the terminal. This is useful in situations such as if you are in a SSH session. *osc52-support* -In order for this plugin to work, the terminal Vim is running in must +In order for this plugin to work, the terminal MNV is running in must recognize and handle the OSC 52 escape sequence. You can easily check this online. Additionally, while yanking is guaranteed to work, some terminals don't implement the paste functionality. If the terminal doesn't support -pasting, then Vim will just block waiting for the data which will never come. +pasting, then MNV will just block waiting for the data which will never come. In this case just press Ctrl-C to cancel the operation. *osc52-selections* @@ -32,23 +32,23 @@ then it is up to the terminal to handle what selection to use. 2. HOW TO USE THE PLUGIN *osc52-how-to-use* -The osc52.vim package relies on Vim's clipboard provider functionality, see -|clipboard-providers|. To enable it, add the following to your |vimrc|: >vim +The osc52.mnv package relies on MNV's clipboard provider functionality, see +|clipboard-providers|. To enable it, add the following to your |mnvrc|: >mnv packadd osc52 set clipmethod+=osc52 < -This appends "osc52" to |clipmethod|, causing Vim to try it only after any -earlier clipboard methods. This allows Vim to use the system clipboard +This appends "osc52" to |clipmethod|, causing MNV to try it only after any +earlier clipboard methods. This allows MNV to use the system clipboard directly when available, and automatically fall back to OSC 52 method when it is not (for example, when running over SSH). Note: that this fallback behavior applies only on platforms that use -|clipmethod| for accessing the clipboard. On macOS and Windows, Vim does not +|clipmethod| for accessing the clipboard. On macOS and Windows, MNV does not use |clipmethod|, so this behaviour won't happen. Instead if OSC 52 support is detected and "osc52" is the only value in |clipmethod|, then it will always be used. -You can check whether the osc52.vim provider is active by inspecting +You can check whether the osc52.mnv provider is active by inspecting |v:clipmethod|. If it contains "osc52", the plugin is enabled. Note: terminal multiplexers such as tmux may interfere with automatic OSC 52 @@ -63,9 +63,9 @@ setting |g:osc52_force_avail| to true. *g:osc52_disable_paste* If your terminal does not support pasting via OSC 52, or has it disabled, then it is a good idea to set g:osc52_disable_paste to TRUE. This will register -only the "copy" method for the osc52.vim clipboard provider, so Vim will not +only the "copy" method for the osc52.mnv clipboard provider, so MNV will not attempt an OSC 52 paste query and avoids the blocking wait described in |osc52-support|. ============================================================================== -vim:tw=78:ts=8:fo=tcq2:ft=help: +mnv:tw=78:ts=8:fo=tcq2:ft=help: diff --git a/uvim/runtime/pack/dist/opt/osc52/plugin/osc52.vim b/uvim/runtime/pack/dist/opt/osc52/plugin/osc52.mnv index 0ae16376a5..6c7960d5d0 100644 --- a/uvim/runtime/pack/dist/opt/osc52/plugin/osc52.vim +++ b/uvim/runtime/pack/dist/opt/osc52/plugin/osc52.mnv @@ -1,15 +1,15 @@ -vim9script +mnv9script -# Vim plugin for OSC52 clipboard support +# MNV plugin for OSC52 clipboard support # -# Maintainer: The Vim Project <https://github.com/vim/vim> +# Maintainer: The MNV Project <https://github.com/Project-Tick/Project-Tick> # Last Change: 2026 Mar 01 if !has("timers") finish endif -import autoload "../autoload/osc52.vim" as osc +import autoload "../autoload/osc52.mnv" as osc var provider: dict<any> = { "available": osc.Available, @@ -37,11 +37,11 @@ def SendDA1(): void endif enddef -if v:vim_did_enter +if v:mnv_did_enter SendDA1() endif -augroup VimOSC52Plugin +augroup MNVOSC52Plugin autocmd! # Query support for OSC 52 using a DA1 query autocmd TermResponseAll da1 { @@ -53,7 +53,7 @@ augroup VimOSC52Plugin :silent! clipreset endif } - autocmd VimEnter * SendDA1() + autocmd MNVEnter * SendDA1() augroup END -# vim: set sw=2 sts=2 : +# mnv: set sw=2 sts=2 : diff --git a/uvim/runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim b/uvim/runtime/pack/dist/opt/shellmenu/plugin/shellmenu.mnv index 04b48b9ce8..02777fd17b 100644 --- a/uvim/runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim +++ b/uvim/runtime/pack/dist/opt/shellmenu/plugin/shellmenu.mnv @@ -4,8 +4,8 @@ " " Your problems are over now! " -" Attached is a Vim script file for turning gvim into a shell script editor. -" It may also be used as an example how to use menus in Vim. +" Attached is a MNV script file for turning gmnv into a shell script editor. +" It may also be used as an example how to use menus in MNV. " " Maintainer: Ada (Haowen) Yu <me@yuhaowen.com> " Original author: Lennart Schultz <les@dmi.min.dk> (mail unreachable) @@ -13,7 +13,7 @@ " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise " <CR> would not be recognized. See ":help 'cpoptions'". let s:cpo_save = &cpo -set cpo&vim +set cpo&mnv imenu ShellMenu.Statements.for for in <CR>do<CR><CR>done<esc>ki <esc>kk0elli imenu ShellMenu.Statements.case case in<CR>) ;;<CR>esac<esc>bki <esc>k0elli diff --git a/uvim/runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim b/uvim/runtime/pack/dist/opt/swapmouse/plugin/swapmouse.mnv index 8b85be050b..8b85be050b 100644 --- a/uvim/runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim +++ b/uvim/runtime/pack/dist/opt/swapmouse/plugin/swapmouse.mnv diff --git a/uvim/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/uvim/runtime/pack/dist/opt/termdebug/plugin/termdebug.mnv index 3ac5c71d5b..66b177943e 100644 --- a/uvim/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/uvim/runtime/pack/dist/opt/termdebug/plugin/termdebug.mnv @@ -1,11 +1,11 @@ -vim9script +mnv9script # Debugger plugin using gdb. # Author: Bram Moolenaar -# Copyright: Vim license applies, see ":help license" +# Copyright: MNV license applies, see ":help license" # Last Change: 2026 Mar 11 -# Converted to Vim9: Ubaldo Tiberi <ubaldo.tiberi@gmail.com> +# Converted to MNV9: Ubaldo Tiberi <ubaldo.tiberi@gmail.com> # WORK IN PROGRESS - The basics works stable, more to come # Note: In general you need at least GDB 7.12 because this provides the @@ -56,7 +56,7 @@ enddef g:termdebug_is_running = false -# The command that starts debugging, e.g. ":Termdebug vim". +# The command that starts debugging, e.g. ":Termdebug mnv". # To end type "quit" in the gdb window. command -nargs=* -complete=file -bang Termdebug StartDebug(<bang>0, <f-args>) command -nargs=+ -complete=file -bang TermdebugCommand StartDebugCommand(<bang>0, <f-args>) @@ -385,7 +385,7 @@ def StartDebug_internal(dict: dict<any>) if wide > 0 if &columns < wide &columns = wide - # If we make the Vim window wider, use the whole left half for the debug + # If we make the MNV window wider, use the whole left half for the debug # windows. allleft = true endif @@ -893,7 +893,7 @@ def StartDebug_prompt(dict: dict<any>) SendCommand($'set env LINES = {winheight(ptywin)}') SendCommand($'set env COLUMNS = {winwidth(ptywin)}') SendCommand($'set env COLORS = {&t_Co}') - SendCommand($'set env VIM_TERMINAL = {v:version}') + SendCommand($'set env MNV_TERMINAL = {v:version}') elseif has('win32') # MS-Windows: run in a new console window for maximum compatibility SendCommand('set new-console on') @@ -2428,4 +2428,4 @@ enddef InitHighlight() InitAutocmd() -# vim: sw=2 sts=2 et +# mnv: sw=2 sts=2 et |
