Vim is a greatly improved version of the good old UNIX editor Vi
- The Core Planners: [email protected]
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/vim as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/vim)
pkg_deps=(core/vim)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/vim
» Installing core/vim
☁ Determining latest version of core/vim in the 'stable' channel
☛ Verifying core/vim/8.1.1694/20200306015156
...
✓ Installed core/vim/8.1.1694/20200306015156
★ Install of core/vim/8.1.1694/20200306015156 complete with 1 new packages installed.
hab pkg binlink core/vim
» Binlinking vim from core/vim into /bin
★ Binlinked vim from core/vim/8.1.1694/20200306015156 to /bin/vim
...
You can now use the binary as normal:
/bin/vim --help
or vim --help
VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 6 2020 01:54:16)
Usage: vim [arguments] [file ..] edit specified file(s)
or: vim [arguments] - read text from stdin
or: vim [arguments] -t tag edit file where tag is defined
or: vim [arguments] -q [errorfile] edit file with first error
...