NeoVim (Catppuccin) NeoVim (Catppuccin-Mocha) NeoVim (Darcula) Vim (Darcula)
My name is Eric Nantel. I am a SENIOR Rendering Architect.
Do you wish to make your life simpler as a developer?
If the answer is yes, please keep reading. π
I created this repository for anyone who wants to install my Vim or NeoVim setup on their computer, while I am still learning their plugins. Btw, I might try Emacs one day, but not today. π
Be sure to read the 'Getting started' π below, so that you have everything I would have installed, as a developer, prior to Vim or NeoVim on your machine.
Your system might already have Vi or Vim and/or Git installed. Regardless, use a package manager and install the following packages:
- git (unless you have it already)
- vim or neovim
- gcc or llvm (on Windows)
- cmake
- ninja (ninja-build for Apt)
- nodejs
- yarn
- python3
- lua (lua5.4 or newer if asked by Apt)
- ruby (possibly installed by Homebrew on MacOS for Vim)
- php
- curl (used as key-only by Homebrew on MacOS)
- bat (optional)
- delta (optional - named git-delta by Homebrew)
- eza (optional - still named exa by Apt)
- ripgrep (optional)
- fzf (optional)
- htop (optional - install ntop if using Scoop - requires sudo privileges on MacOS)
- neofetch (optional)
- make (optional - renamed gmake by Homebrew on MacOS)
Then open a Terminal application and type the command 'vim' or 'nvim' to see if you have it installed. To close vim/neovim, press ':q' to return to the console.
Please consider reading the Getting started documentation π above.
Open a Terminal application and go to this repository directory.
Run the following Shell script (.sh) to install my config:
- For Vim
sh install_vim_config.sh
- For NeoVim
sh install_neovim_config.h
If you have an error, that means your terminal or emulator cannot read Shell scripts (.sh) or execute Unix commands. If you are using Windows 11, I suggest you to install WSL 2 (Windows Subsystem Linux 2). Or it could be that you have not installed git yet on your machine.
Close the Terminal application to apply config changes; or run the following commands:
- For GNU/Linux
source ~/.vimrc
source ~/.bashrc
- For MacOS
source ~/.vimrc
source ~/.zshrc
Please consider reading the Getting started documentation π above.
Open Vim or NeoVim in a Terminal application to install the plugins.
If you see an error in the Terminal console for Vim, ignore it and press a key to continue.
Enter the following command(s) in Normal mode:
- For Vim only (NeoVim uses Lazy)
:PlugInstall
Hopefully, everything went as planned. You might need to quit (:q) and reopen Vim or NeoVim to see the changes.
Let's code faster ! π
β Please consider following me on GitHub or social medias. π
Copyright(c) 2024 - Eric Nantel