https://github.com/khoido2003/.nvim
My beautiful Neovim setup
https://github.com/khoido2003/.nvim
alacritty lua monokai-theme neovim wezterm
Last synced: 8 months ago
JSON representation
My beautiful Neovim setup
- Host: GitHub
- URL: https://github.com/khoido2003/.nvim
- Owner: khoido2003
- Created: 2024-11-15T16:12:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-22T17:02:46.000Z (8 months ago)
- Last Synced: 2025-02-22T18:18:58.401Z (8 months ago)
- Topics: alacritty, lua, monokai-theme, neovim, wezterm
- Language: Lua
- Homepage:
- Size: 14.7 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Neovim Configuration
## How to use this repo (Guide for Window user)
Install
bash
```
git clone https://github.com/khoido2003/.nvim ~/.config/nvim && nvim
```If using Wezterm terminal, paste the wezterm folder to .config folder
bash
```
C:\Users\\.config
```If using Alacritty terminal, paste the alacritty folder to
```
C:\Users\\AppData\
```## Overview
This configuration will make Neonvim become a full-fledged IDE like VS Code
Theme: Monokai NighTasty (https://github.com/polirritmico/monokai-nightasty.nvim)
Mason Support: C/C++, C#, JS/TS, Go, Rust, Java, HTML/CSS, Python,yaml, Dockerfile
## Tools
This Neovim configuration will use LazyVim to manage all Neovim plugins and Mason to control the LSP server
## Prerequesites
- Autoformat code with Conform.nvim: https://github.com/stevearc/conform.nvim
+ To have Conform.nvim auto format for each programming language, on local machine
need to dowload the relevant formatter+ For example: JS/TS -> Prettier
- LSP server will be dowload automatically by Mason.nvim
### GUI: Neovide
Written in Rust so it is super fast and have some built in features with icon support
Dowload: https://neovide.dev/
### Using built in terminal
I am currently using Wezterm as my terminal and it is amazing, you should try it
outRecommend dowload FiraCode for better font and syntax support
Dowload: https://github.com/tonsky/FiraCode
### If using Window, dowload Zig as compiler for Nvim-Tree-sitter since C have some problem when compile
Using chocolatey
bash```
choco install zig
```
or visit Zig website for more guide: https://ziglang.org/learn/getting-started/#direct### Install Lazygit to use Git in terminal
On Window
bash
```
choco install lazygit
```
### Add diff to global varibles(Require to use proto format)
Add this to the edit global varible
bash
```
C:\Program Files\Git\usr\bin
```
### LSP for RustStep 1: Dowload MinGW-w64 and add it to the global path
Step 2: Configure Rust to use MinGW
bash
```
rustup install stable-x86_64-pc-windows-gnurustup default stable-x86_64-pc-windows-gnu
rustc --version --verbose
```
Step 3: Dowload rust-analyzer for the LSP
bash
```
rustup component add rust-analyzer
```NOTE: Default Rust will use MSVC instead of MinGW-w64 so in order to use that
you have to install Visual Studio Installer and install MSVC from there### Install buf for proto file format
bash
```
scoop install buf
```### Win32Yank: Only on Window
This is important to enable copy and paste inside Neovim since it does not support it
Dowload: https://github.com/equalsraf/win32yank/releases## Requirements
Neovim >= 0.9.0 (needs to be built with LuaJIT)
Git >= 2.19.0 (for partial clones support)
a Nerd Font(v3.0 or greater) (optional, but needed to display some icons)
lazygit (optional)
## Results






