ex-vi-vim-compat

LOW
maintainer hiruocha 0 votes scanned 2026-10-31 07:58:04.077835
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: hiruocha <hiruocha[at]outlook[dot]com>
2# Contributor: Doug Newgard <scimmia at archlinux dot info>
3# Contributor: Tomas Storck <storcktomas@gmail.com>
4# Contributor: Tom Richards <tom@tomrichards.net>
5
6pkgname=ex-vi-vim-compat
7pkgver=1
8pkgrel=1
9pkgdesc='Runs neovim if vi or vim is called'
10arch=('any')
11depends=('neovim' 'sh')
12provides=('vim' 'vi')
13conflicts=('vim' 'vi')
14
15package() {
16 install -dm755 "$pkgdir/usr/bin/"
17 cd "$pkgdir/usr/bin/"
18
19 echo -e '#!/bin/sh\nexec nvim -e "$@"' > ex
20 echo -e '#!/bin/sh\nexec nvim -R "$@"' > view
21 echo -e '#!/bin/sh\nexec nvim -d "$@"' > vimdiff
22 echo -e '#!/bin/sh\nexec nvim --clean "$@"' > vi
23 chmod 755 *
24
25 for _link in edit vedit vim; do
26 ln -s nvim $_link
27 done
28}
29

Scan history

Scanned at (UTC)SeverityRules
2026-10-31 07:58:04 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion