Inspired by:
- https://github.com/nvim-lua/kickstart.nvim
- https://github.com/2kabhishek/nvim2k
- https://github.com/josean-dev/dev-environment-files/blob/main/.config/nvim
- https://github.com/vuki656/nvim-config
- https://github.com/LunarVim/nvim-basic-ide
- https://github.com/LunarVim/Neovim-from-scratch
- https://github.com/Allaman/nvim/
- https://www.jakewiesler.com/blog
- https://github.com/exosyphon/nvim/tree/main
- How I Setup LSP In Neovim For An Amazing Dev Experience - Full Guide
- How to setup Neovim from Scratch - Complete Guide (Including TMUX, Lazy and LSP)
- 0 to LSP : Neovim RC From Scratch
- pluginless neovim
- How to set up Neovim for coding React, TypeScript, Tailwind CSS, etc on a new M2 MacBook Air
- The (almost) perfect Neovim setup for Node.js
- Code Folding in Neovim
- How To Setup Linting And Formatting In Neovim To Replace null-ls
- How to Do 90% of What Plugins Do (With Just Vim)
- Vim Navigation Commands
- Mastering the Vim Language
sh <(curl -L https://nixos.org/nix/install) --daemon
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
Or use Nix. Nix might be a version behind the github repo.
nix-env -iA nixpkgs.lazygit
nix-env -iA nixpkgs.nodejs_20
When installing global node packages on Linux you need to edit ~/.npmrc
so that it tells npm to install and find "global" packages in your home folder instead of the root location:
prefix=~/.npm-packages
now any time you run npm i -g you will see that it will be installed inside of ~/.npm-packages.
Now in your shell rc file (f.e. .bashrc or .zshrc or similar), you'll need to update your PATH to include executables from the new location:
export PATH="$HOME/.npm-packages/bin:$PATH"
Often it is more convenient to manage ephemeral dependencies outside of the system-level package manager.
If you use something like n or nvm to manage specific node versions, you can do a similar thing by managing them in your home folder. Taken from https://stackoverflow.com/a/59606924/2527950
nix-env -iA nixpkgs.neovim
Install ripgrep for telescope grep search
sudo apt-get install ripgrep
# or
nix-env -iA nixpkgs.ripgrep
Install Nerd font for terminal icons in Neovim