From 56bc1263b4695a9896fccbd101d0c2bfcab9cc6c Mon Sep 17 00:00:00 2001 From: Practicalli Engineering Date: Wed, 3 Jan 2024 12:06:49 +0000 Subject: [PATCH] install: neovim GitHub release install on MacOSX Move from supporting tools to neovim install Add intro sentence to Install Neovim section --- CHANGELOG.md | 2 +- docs/install/neovim.md | 51 ++++++++++++++++++++++-------------------- 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cf7a271..9402bfd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - install: add MacOSX homebrew section - install: neovide install and configuration, Linux & MacOSX - source-control: add nvimdiff configuration and use for Git diff views -- install: neovim release install on MacOSX +- install: neovim GitHub release install on MacOSX ### Changed - ci: spell lychee & repository trufflehog linters warn only (false positives) diff --git a/docs/install/neovim.md b/docs/install/neovim.md index 6bda7d93..4d0ea7c2 100644 --- a/docs/install/neovim.md +++ b/docs/install/neovim.md @@ -48,30 +48,6 @@ Install the following tools to support Neovim and AstroNvim sudo apt install wl-clipboard ``` -=== "MacOSX GitHub Release" - - From the [**Neovim GitHub release page**](https://github.com/neovim/neovim/releases): - - 1. Install `libintl`and `gettext` (e.g. via `brew install libintl gettext`) - 2. Download **nvim-macos.tar.gz** - 3. Run `xattr -c ./nvim-macos.tar.gz` (to avoid "unknown developer" warning) - 4. Make local apps directory for neovim (and other things like node.js, etc.) - - ```shell - mkdir -P ~/.local/apps - ``` - - 5. Extract the neovim download - - ```shell - tar zvxf nvim-macos.tar.gz -C ~/.local/apps/ - ``` - - 6. Create nvim symbolic link in `~/.local/bin` to include Neovim on the OS execution path (check `.local/bin` is added to the execution the path by the Operating System command line shell) - - ```shell - ln -s ~/.local/apps/nvim-macos/bin/nvim ~/.local/bin/nvim - ``` === "MacOSX Homebrew" @@ -84,6 +60,8 @@ Install the following tools to support Neovim and AstroNvim ## Install Neovim +Use the [GitHub releases](https://github.com/neovim/neovim/releases/) for the latest version of Neovim, or use a Package manager for the operating system if the version of Neovim is 0.9.x + === "Linux AppImage" Download the [Linux AppImage](https://github.com/neovim/neovim/releases/){target=_blank} from the Neovim Release page and place the file on the executable path, e.g. `$HOME/.local/bin` @@ -145,6 +123,31 @@ Install the following tools to support Neovim and AstroNvim Run `nvim` (or setup a Neovim configuration first, e.g. AstroNvim) +=== "MacOSX GitHub Release" + + From the [**Neovim GitHub release page**](https://github.com/neovim/neovim/releases): + + 1. Install `libintl`and `gettext` (e.g. via `brew install libintl gettext`) + 2. Download **nvim-macos.tar.gz** + 3. Run `xattr -c ./nvim-macos.tar.gz` (to avoid "unknown developer" warning) + 4. Make local apps directory for neovim (and other things like node.js, etc.) + + ```shell + mkdir -P ~/.local/apps + ``` + + 5. Extract the neovim download + + ```shell + tar zvxf nvim-macos.tar.gz -C ~/.local/apps/ + ``` + + 6. Create nvim symbolic link in `~/.local/bin` to include Neovim on the OS execution path (check `.local/bin` is added to the execution the path by the Operating System command line shell) + + ```shell + ln -s ~/.local/apps/nvim-macos/bin/nvim ~/.local/bin/nvim + ``` + === "Debian Package" !!! INFO "Linux version only packaged as AppImage from Neovim 0.9 onward"