linsui 64137e7d50 Vim: use stable build (#556)
* Vim: use stable build

* No need to use pipeline

* No need to use pipeline
2019-12-15 08:13:19 -08:00

120 lines
3.1 KiB
JSON

{
"homepage": "https://www.vim.org",
"description": "A highly configurable text editor for efficiently creating and changing any kind of text.",
"license": "Vim",
"version": "8.1.1",
"url": [
"https://ftp.nluug.nl/pub/vim/pc/gvim81.exe#/dl.7z",
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/vim/install-context.reg",
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/vim/uninstall-context.reg"
],
"hash": [
"md5:14391c74929552db62acc6bca9efbe1b",
"16a29881837047d783e8556506c73bbb292bdfefe042d77564d3c166d92b9d98",
"49225d3470bf4b397d3cab865eddca6e47610be356f812588588c2661a11557e"
],
"extract_dir": "$0",
"pre_install": [
"Remove-Item \"$dir\\`$*\", \"$dir\\uninstal.*\", \"$dir\\install.exe\" -Recurse",
"if (!(Test-Path \"$persist_dir\\_vimrc\")) {",
" Copy-Item \"$dir\\vimrc_example.vim\" \"$dir\\_vimrc\"",
" Copy-Item \"$dir\\gvimrc_example.vim\" \"$dir\\_gvimrc\"",
" Add-Content \"$dir\\_vimrc\" \"set shell=$((Get-Command powershell).Path)\\ -ExecutionPolicy\\ Bypass\" -Encoding Ascii",
"}",
"'install-context.reg', 'uninstall-context.reg' | ForEach-Object {",
" $vimpath = \"$(current_dir $dir)\\gVim.exe\".Replace('\\', '\\\\')",
" $content = (Get-Content \"$dir\\$_\").Replace('$vim', $vimpath)",
" if ($global) { $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE') }",
" Set-Content \"$dir\\$_\" $content",
"}"
],
"bin": [
"vim.exe",
[
"vim.exe",
"vi"
],
[
"vim.exe",
"ex",
"-e"
],
[
"vim.exe",
"view",
"-R"
],
[
"vim.exe",
"rvim",
"-Z"
],
[
"vim.exe",
"rview",
"-RZ"
],
[
"vim.exe",
"vimdiff",
"-d"
],
"gvim.exe",
[
"gvim.exe",
"gview",
"-R"
],
[
"gvim.exe",
"evim",
"-y"
],
[
"gvim.exe",
"eview",
"-Ry"
],
[
"gvim.exe",
"rgvim",
"-Z"
],
[
"gvim.exe",
"rgview",
"-RZ"
],
[
"gvim.exe",
"gvimdiff",
"-d"
],
"xxd.exe"
],
"shortcuts": [
[
"gvim.exe",
"gVim"
]
],
"persist": [
"_vimrc",
"_gvimrc",
"vimfiles"
],
"checkver": {
"url": "https://ftp.nluug.nl/pub/vim/pc",
"regex": "gvim(?<ver>[\\d-]+)\\.exe\\s+V([\\d.]+)"
},
"autoupdate": {
"url": "https://ftp.nluug.nl/pub/vim/pc/gvim$matchVer.exe#/dl.7z",
"hash": {
"url": "$baseurl/MD5SUMS"
}
},
"suggest": {
"vimtutor": "vimtutor"
}
}