本文由 AI 分析生成
建立時間: 2026-03-28 來源: https://lyk-love.cn/2024/01/09/nvchad/
Summary
Personal NvChad setup guide by Lyk-love, covering installation, custom configuration via symlinked dotfiles, and core components (Treesitter for syntax highlighting, LSP setup, key mappings). Reference for getting NvChad working on a new machine with a personal dotfile setup.
Lyk-love 的個人 NvChad 設置指南,涵蓋安裝、通過符號鏈接 dotfiles 的自定義配置和核心組件(Treesitter 語法高亮、LSP 設置、按鍵映射)。在新機器上使用個人 dotfile 設置使 NvChad 工作的參考。
Key Points
- Installation:
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim - Custom config: set
NVIM_CUSTOM_HOMEenv var pointing to dotfile directory; symlink~/.config/nvim/lua/customto the custom dir - Treesitter: syntax highlighting + auto-indent; installed as NvChad plugin
- Pattern: dotfiles-backed config via symlink enables version-controlled, transferable setup
Insights
NvChad is a Neovim distribution (like LazyVim or LunarVim) that provides a curated set of plugins and configuration as a starting point. The symlink approach to personal configuration is elegant — it keeps NvChad’s base config separate from personal customizations, making updates and machine migrations cleaner. The short guide captures the install + custom config pattern without extensive plugin-by-plugin documentation.
Connections
Raw Excerpt
git clone https://github.com/NvChad/NvChad ~/.config/nvim —depth 1 && nvim ln -s $NVIM_CUSTOM_HOME/ ~/.config/nvim/lua/custom