Just sharing my Neovim configuration with mostly native Lua plugins.
- Fully configured for LaTeX editing with
texlab,vimtex, andltex-plus - Supports forward/reverse PDF sync with Skim on macOS
- Includes formatting via
latexindentand spell/grammar checking vialtex-plus
- Seamless autocompletion from GitHub Copilot using
copilot.luaandnvim-cmp - Prioritized alongside LSP and snippet suggestions
- Generate text with local LLMs using
gen.luaandOllama - Works offline; great for privacy-conscious workflows
- Built-in support for:
- TypeScript (
tsserver) - Python (
pyright) - C/C++ (
clangd) - HTML/CSS/JS
- LaTeX & Markdown (
texlab,ltex-plus) - Shell scripts, JSON, and more
- TypeScript (
- Powered by:
nvim-lspconfigmason.nvim+mason-lspconfigcmp-nvim-lsp,LuaSnip,friendly-snippetsconform.nvimfor formattingfidget.nvimfor LSP progress
| Plugin | Purpose |
|---|---|
fzf-lua |
Blazing fast fuzzy finding |
gitsigns.nvim |
Git signs in gutter |
auto-session |
Restore sessions effortlessly |
comment.nvim |
Fast comment toggling |
lualine.nvim |
Elegant statusline |
oil.nvim |
File explorer in buffer |
nvim-ts-autotag |
Auto close HTML/JSX tags |
outline.nvim |
Symbols outline (like VSCode) |
render-markdown |
Better markdown rendering |
vimtex |
Advanced LaTeX workflow |
treesitter |
Syntax highlighting & folding |
copilot.lua |
GitHub Copilot integration |
gen.lua |
Ollama + AI generation integration |
Place the nvim folder into your Neovim config directory:
~/.config/
⚠️ This will override your current Neovim setup.
mv ~/.config/nvim ~/.config/nvim_backup # (optional) backup old config
cp -r path/to/this/repo/nvim ~/.config/nvim-
Create a new config folder (e.g.,
nvim2):mkdir -p ~/.config/nvim2 cp -r path/to/this/repo/nvim/* ~/.config/nvim2/
-
Add an alias to your shell config (
.bashrcor.zshrc):alias nvim2='NVIM_APPNAME=nvim2 nvim'
-
Reload your shell or run:
source ~/.zshrc # or source ~/.bashrc
Now, run nvim2 to launch Neovim using the alternate config 🎉
This project is licensed under the MIT License.