This is a heavily modified forked from ChristianChiarulli's neovim. You can start-off with my config, and build something of your own from there, but ideally, you should always try writing your own. Using neovim, as TJ DeVries says, usually becomes a PDE (Personal Development Environment). This config, just like any other config, is heavily personalized.
- The leader key is
space
, and to open whichkey immediately, press:Ctrl + Space
. - To open all the available keymaps, press: "Ctrl + Space" -> "f" -> "k" (you should also see the options you are selecting)
I wanted to create this as a standalone repo instead of a fork so that people can create issues if they are stuck. However, it will be unfair on the main author (ChristianChiarulli), as I also make sure to merge with his up-stream repo, whenever I find something that is new to me. So this repository will be a fork until I'm very happy with what I have, and once it diverges from upstream. Please follow the commits here to follow the changes I've made to the original fork. The biggest of those should be: adding my own plugin: AutoRunner 💙 . It's in a beta release, but feel free to test it out.
Make sure to remove or move your current nvim
directory
git clone git@github.com:krshrimali/nvim.git ~/.config/nvim
If you don't have neovim installed, there is a very useful script (comes from up-stream) that lets you install neovim: ./install_neovim.sh
.
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)
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
After moving fonts to ~/.local/share/fonts/
Run: $ fc-cache -f -v
NOTE: (If you are seeing boxes without icons, try changing this line from false
to true
: link)
mkdir -p ~/.local/bin
curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer
chmod +x ~/.local/bin/rust-analyzer