Enhance Arch Linux install instructions (#1380)

macos-click-through
multisn8 2 years ago committed by GitHub
commit a628e6fe1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -111,6 +111,9 @@ I've got more ideas for simple unobtrusive improvements. More to come.
Configuration is done almost completely via global neovide variables in your vim config and can be manipulated live at runtime. Details can be found [here](https://github.com/neovide/neovide/wiki/Configuration). Configuration is done almost completely via global neovide variables in your vim config and can be manipulated live at runtime. Details can be found [here](https://github.com/neovide/neovide/wiki/Configuration).
Note: Neovide requires that a font be set in `init.vim` otherwise errors might be encountered.
See [#527](https://github.com/neovide/neovide/issues/527)
## Install ## Install
**Note**: Building instructions are somewhat limited at the moment. All the libraries I use are cross platform and should have **Note**: Building instructions are somewhat limited at the moment. All the libraries I use are cross platform and should have
@ -171,46 +174,18 @@ $ scoop install neovide
#### Arch Linux #### Arch Linux
There is an [AUR package for neovide](https://aur.archlinux.org/packages/neovide-git/). Stable releases are [packaged in the community repository](https://archlinux.org/packages/community/x86_64/neovide).
##### With Paru (or your preferred AUR helper)
```sh
paru -S neovide-git
```
##### Without helper
```sh ```sh
git clone https://aur.archlinux.org/neovide-git.git pacman -S neovide
cd neovide-git
makepkg -si
``` ```
To install a non-default branch: To run a development version you can build from [the VCS package in the AUR](https://aur.archlinux.org/packages/neovide-git).
This can be built and installed using an AUR helper or [by hand in the usual way](https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages).
To build from a non-default branch you can edit the PKGBUILD and add `#branch-name` to the end of the source URL.
```sh
git clone https://aur.archlinux.org/neovide-git.git
cd neovide-git
nvim PKGBUILD
:%s/l}/l}#branch=branch-name-here/
:wq
makepkg -si
```
Note: Neovide requires that a font be set in `init.vim` otherwise errors might be encountered.
See [#527](https://github.com/neovide/neovide/issues/527)
##### With non-default branch
```sh
git clone https://aur.archlinux.org/neovide-git.git
cd neovide-git
REGEX=$(printf 's/{url}/&\#branch=%s/g' '<YOUR-BRANCH-HERE>')
sed "$REGEX" PKGBUILD
makepkg -si
```
#### With Snap #### With Snap
Neovide is also available in the Snap Store. You can install it Neovide is also available in the Snap Store. You can install it
using the command below. using the command below.
@ -221,6 +196,7 @@ snap install neovide
#### From source #### From source
1. Install necessary dependencies (adjust for your preferred package manager) 1. Install necessary dependencies (adjust for your preferred package manager)
```sh ```sh

Loading…
Cancel
Save