From 538590e84e0290a941a8f57967a261db67c18f47 Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Tue, 14 Dec 2021 16:45:03 -0500 Subject: add options --- README.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 130cf34..8e66982 100644 --- a/README.md +++ b/README.md @@ -1 +1,58 @@ -# neovim-from-scratch \ No newline at end of file +# Neovim from scratch + +## Try out this config + +Make sure to remove or move your current `nvim` directory + +``` +git clone git@github.com:ChristianChiarulli/Neovim-from-scratch.git ~/.config/nvim +``` + +Run `nvim` and wait for the plugins to be installed + +**NOTE** (You will notice treesitter pulling in a bunch of parsers the next time you open Neovim) + + +each video will be associated with a branch so checkout the one you are interested in + +## Get healthy + +Open `nvim` and enter the following: + +``` +:checkhealth +``` + +You'll probably notice you don't have support for copy/paste also that python and node haven't been setup + +So let's fix that + +First we'll fix copy/paste + +- On mac `pbcopy` should be builtin + +- On Ubuntu + + ``` + sudo apt install xsel + ``` + +- On Arch Linux + + ``` + sudo pacman -S xsel + ``` + +Next we need to install python support (node is optional) + +- Neovim python support + + ``` + pip install pynvim + ``` + +- Neovim node support + + ``` + npm i -g neovim + ``` -- cgit v1.2.3