Hello! This is my neovim/terminal config that I've started to configure and use for my personal projects. Outside of work, this is the configuration I'm most comfortable with, and a few of the keybindings and shortcuts have made it's way into my preferred at-work IDE, JetBrains suite.
This config requires the following to work: (mostly as a reminder to myself if I ever need to swap my dev machine)
- Oh My Zsh
- powerlevel10k
- Neovim
- Github Monaspace Krypton NFM for the font (be sure to use a nerd font if you're not using this one!)
To get this project set up the way it should be, do the following:
- Install Oh My Zsh using
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- Run the terminal to set up Oh My Zsh if it needs to be loaded.
- Install powerlevel10k using
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
- Run the terminal to set up p10k and the configurations if they need to be.
- Install Neovim using
brew install neovim
(if using Homebrew. If not, see the above link on Neovim.) - Clone this repo into either a clean project folder, or into the root of the machine (recommend that you use a clean project folder).
- If you did not clone into root, copy all project files into the root (do this to avoid git tracking your entire machine root).
- Run
nvc
. This will ensure that the.zshrc
is properly tracked by the shell. - Exit Neovim.
- Run
nv
in a git-tracked project. - Run
:checkhealth
to ensure everything is working correctly for Neovim. - Play around to ensure that everything is working as intended :D
I'm too lazy to keep the plugin list up-to-date, so please refer to the lazy-lock.json
file for exactly what plugins Neovim is using.
Uses Catppuccin Mocha as the base theme, and integrates it as much as I'm willing to at any given moment.
Happy coding!
- For lazygit in floaterm, if you did not set Catppuccin Mocha correctly, it will appear really ugly (default lazygit theme). To fix this, see here
- Remember to install your LSPs accordingly.
- Additionally, remember to install prettier and ensure that it's configured to run globally.
npm i -g pretteir
will do the trick.