These setup scripts are meant for barebone setups where a Linux or MacOS machine is yet to be (fully) setup and customized with Neovim or any other related tool. This makes it easier to install all the needed dependencies like CLang, CMake, Homebrew, unzip, etc.
This Neovim configuration is based on @ThePrimeagen's Neovim config with some custom edits of mine.*
- Open a terminal and do
cd /dotfiles/scripts - Then,
chmod +x install_nvim_conf.sh - Run the script using
./install_nvim_conf.sh. This will install and set up the custom Neovim configuration.
There may be some errors regarding on what type of system you install this on. This config is based on a Debian-based distro. If there are any issues regarding plugins, just remove them from the config or update the plugin.
- Open a terminal and do
cd /dotfiles/scripts - Then,
chmod +x install_nvim_conf_mac.sh - Run the script using
sudo ./install_nvim_conf.sh. This will install and set up the custom Neovim configuration using Homebrew.
When you first open Neovim, you may see some errors. To resolve these errors and fully set up the configuration, follow these steps:
- Open Neovim using the
nvimcommand. - Inside Neovim, run
:so ~/.config/nvim/init.luato source theinit.luafile (or just run ":so inside of the file"). - Run
:so ~/.config/nvim/lua/plugins/packer.luato source thepacker.luafile. - Run
:PackerSyncto install all of the plugins specified inpacker.lua. - Run
:soinside of all of the after/plugins .lua files to source all of the custom configs. - Create a .bash_aliases file in ~/ and make an alias called
alias vim='nvim' - In your terminal, do
source .bashrc
