Commit 75a9fa24 authored by satmandu's avatar satmandu Committed by GitHub

change vim defaults to no use visual mode (#5547)

* change vim defaults to no use visual mode

* add gvim
parent 47a05268
...@@ -3,24 +3,24 @@ require 'package' ...@@ -3,24 +3,24 @@ require 'package'
class Gvim < Package class Gvim < Package
description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. (with advanced features, such as a GUI)' description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. (with advanced features, such as a GUI)'
homepage 'http://www.vim.org/' homepage 'http://www.vim.org/'
@_ver = '8.2.2580' @_ver = '8.2.2725'
version @_ver version @_ver
license 'vim' license 'GPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/vim/vim/archive/v8.2.2580.tar.gz' source_url "https://github.com/vim/vim/archive/refs/tags/v#{@_ver}.tar.gz"
source_sha256 'd0a508ca9726c8ff69bc5f5ab1ebe251c256e01e730f7b36afd03a66c89fcf79' source_sha256 'a8aca906cf63fdc4264f86c1c39f8164989de0be3dc18553cb23bd6226c361a9'
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2580-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2725-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2580-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2725-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2580-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2725-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2580-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gvim-8.2.2725-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: 'c06a89c4a40a50d68232218248bce92fe6613cf7e1ec88711f3ac9fcc25e8d9d', aarch64: '0c813f4f93053af3d50e6bad0de4742eba2a99bed72ca5ca239fdf1b31d42b69',
armv7l: 'c06a89c4a40a50d68232218248bce92fe6613cf7e1ec88711f3ac9fcc25e8d9d', armv7l: '0c813f4f93053af3d50e6bad0de4742eba2a99bed72ca5ca239fdf1b31d42b69',
i686: 'ec59a0ce5aea951488100381333ef8e30f11880b2fadc66cbc9a90db06c7ff31', i686: '2b9dd78e45e4543874fb5f5237e33edcf8c6ece04b9263c992ca4d9e7200a486',
x86_64: 'a3fa1854b694e1ae034086950a51909825bdd5886dbb7ed29e8651dc53673458' x86_64: '177d45f4f3dd52e3148d46ab4de6b4ffe9f91b0ead63f9e75d5891a1ce1ff706'
}) })
depends_on 'vim_runtime' depends_on 'vim_runtime'
......
...@@ -3,24 +3,24 @@ require 'package' ...@@ -3,24 +3,24 @@ require 'package'
class Vim < Package class Vim < Package
description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient.' description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient.'
homepage 'http://www.vim.org/' homepage 'http://www.vim.org/'
@_ver = '8.2.2580' @_ver = '8.2.2725'
version @_ver version @_ver
license 'GPL-2' license 'GPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/vim/vim/archive/v8.2.2580.tar.gz' source_url "https://github.com/vim/vim/archive/refs/tags/v#{@_ver}.tar.gz"
source_sha256 'd0a508ca9726c8ff69bc5f5ab1ebe251c256e01e730f7b36afd03a66c89fcf79' source_sha256 'a8aca906cf63fdc4264f86c1c39f8164989de0be3dc18553cb23bd6226c361a9'
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.2.2580-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.2.2725-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.2.2580-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.2.2725-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.2.2580-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.2.2725-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.2.2580-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim-8.2.2725-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: 'fc753eff299bb106dde43f55f7b52d40852f3f2b0651eb869afad92eb1c5132c', aarch64: 'c7c267037313e808abd4106eff6c2ae47e6cd95ccc2c97fd84ba0034efc9a0ed',
armv7l: 'fc753eff299bb106dde43f55f7b52d40852f3f2b0651eb869afad92eb1c5132c', armv7l: 'c7c267037313e808abd4106eff6c2ae47e6cd95ccc2c97fd84ba0034efc9a0ed',
i686: 'a830cb5b36fe8752b90829f5b97dc382868d7dfda4462ed7cb3e37eebd27939a', i686: '596357e4b5a9b098d6724a26dc120dbc8b3bccf3d7d706caa604a7fc1aa44036',
x86_64: '27f86977743855f0f77f9797a80674eda93977a4309a02bff399364237984104' x86_64: 'a46443dd0cd6b6b8f924cb0f531154c5ac551bddcaa2e9ea52b93d18ae0864fc'
}) })
depends_on 'vim_runtime' depends_on 'vim_runtime'
...@@ -43,7 +43,6 @@ class Vim < Package ...@@ -43,7 +43,6 @@ class Vim < Package
end end
def self.build def self.build
system './configure --help'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
......
...@@ -3,24 +3,24 @@ require 'package' ...@@ -3,24 +3,24 @@ require 'package'
class Vim_runtime < Package class Vim_runtime < Package
description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. (shared runtime)' description 'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. (shared runtime)'
homepage 'http://www.vim.org/' homepage 'http://www.vim.org/'
@_ver = '8.2.2580' @_ver = '8.2.2725'
version @_ver version @_ver
license 'GPL-2' license 'GPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/vim/vim/archive/v8.2.2580.tar.gz' source_url "https://github.com/vim/vim/archive/refs/tags/v#{@_ver}.tar.gz"
source_sha256 'd0a508ca9726c8ff69bc5f5ab1ebe251c256e01e730f7b36afd03a66c89fcf79' source_sha256 'a8aca906cf63fdc4264f86c1c39f8164989de0be3dc18553cb23bd6226c361a9'
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.2.2580-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.2.2725-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.2.2580-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.2.2725-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.2.2580-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.2.2725-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.2.2580-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vim_runtime-8.2.2725-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: '8cc4833ea1a19af223e899b5aa7edfa7a7258f33080008d39783acf92d22e2e3', aarch64: '25defdc827b9d728a772b030bcb0b70ddef40e0d0cfc0c541e5586134006f84f',
armv7l: '8cc4833ea1a19af223e899b5aa7edfa7a7258f33080008d39783acf92d22e2e3', armv7l: '25defdc827b9d728a772b030bcb0b70ddef40e0d0cfc0c541e5586134006f84f',
i686: '1cefc1026dfdac9d039bb82629ab9287c2bd9a6704f4929f120766d436e7c237', i686: '9bed968fb77eaf4738a5d9a327fdfd8163be88e710a69f32c11e5d90562cfb2a',
x86_64: '9b8e3d8e1e7455d049000342972c9dfb09ad1fb0b98ef665dde381aa646f9951' x86_64: 'beeb273511e1728621609d5ab03d115ccab2f2197a90e72de0d39ed391120898'
}) })
depends_on 'gpm' depends_on 'gpm'
...@@ -38,7 +38,6 @@ class Vim_runtime < Package ...@@ -38,7 +38,6 @@ class Vim_runtime < Package
end end
def self.build def self.build
system './configure --help'
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
...@@ -93,6 +92,9 @@ class Vim_runtime < Package ...@@ -93,6 +92,9 @@ class Vim_runtime < Package
set nocompatible set nocompatible
endif endif
" Disable automatic visual mode on mouse select.
set mouse-=a
set backspace=indent,eol,start set backspace=indent,eol,start
set ruler set ruler
set suffixes+=.aux,.bbl,.blg,.brf,.cb,.dvi,.idx,.ilg,.ind,.inx,.jpg,.log,.out,.png,.toc set suffixes+=.aux,.bbl,.blg,.brf,.cb,.dvi,.idx,.ilg,.ind,.inx,.jpg,.log,.out,.png,.toc
......
...@@ -3,24 +3,24 @@ require 'package' ...@@ -3,24 +3,24 @@ require 'package'
class Xxd_standalone < Package class Xxd_standalone < Package
description 'Hexdump utility from vim' description 'Hexdump utility from vim'
homepage 'http://www.vim.org' homepage 'http://www.vim.org'
@_ver = '8.2.2580' @_ver = '8.2.2725'
version @_ver version @_ver
license 'GPL-2' license 'GPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/vim/vim/archive/v8.2.2580.tar.gz' source_url "https://github.com/vim/vim/archive/refs/tags/v#{@_ver}.tar.gz"
source_sha256 'd0a508ca9726c8ff69bc5f5ab1ebe251c256e01e730f7b36afd03a66c89fcf79' source_sha256 'a8aca906cf63fdc4264f86c1c39f8164989de0be3dc18553cb23bd6226c361a9'
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xxd_standalone-8.2.2580-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xxd_standalone-8.2.2725-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xxd_standalone-8.2.2580-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xxd_standalone-8.2.2725-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xxd_standalone-8.2.2580-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/xxd_standalone-8.2.2725-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xxd_standalone-8.2.2580-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xxd_standalone-8.2.2725-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: '7faf6e6e092c5913bb627ef7d2e33bd3fa2f3f0ba140773eb676ee267110fdc1', aarch64: '2dfdca9a6df73cfcd2d668bde027cf612dac84903d431317dc80ba436e7d6043',
armv7l: '7faf6e6e092c5913bb627ef7d2e33bd3fa2f3f0ba140773eb676ee267110fdc1', armv7l: '2dfdca9a6df73cfcd2d668bde027cf612dac84903d431317dc80ba436e7d6043',
i686: '1026e73efdf2559a2915752529fa2dbd9803e39c2ef604e57dcde28895105089', i686: '06af0aab3534058d294e616a41cfe29221e615c9a381d144a82b00379e4dea4d',
x86_64: 'd84e4ae4abaf14e7ccd5257e9db7366d5131d6726fb3da024f3ac82c37fe42fa' x86_64: '91756fb4d218b84362163da540500ccf10e2e2782a264a86584d5dd6e87a2b25'
}) })
def self.build def self.build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment