This is a detailed tutorial concerning the configuration of Vim
- Vim配置指南 is a tutorial and you can start from here
- vimrc is my configuration text of vim
- plugged contains all the plugins in vimrc
You can learn more details at 我借鉴的配置范本
LazyVim is a Neovim setup powered by 💤 lazy.nvim to make it easy to customize and extend your config.
- 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)
- a C compiler for nvim-treesitter. See here
- for telescope.nvim (optional)
- live grep: ripgrep
- find files: fd
- a terminal that support true color and undercurl:
- kitty (Linux & Macos)
- wezterm (Linux, Macos & Windows)
- alacritty (Linux, Macos & Windows)
- iterm2 (Macos)
- Install the LazyVim Starter
- The steps below are suitable for Linux and MacOS
mv ~/.config/nvim{,.bak}
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}
git clone https://github.com/LazyVim/starter ~/.config/nvim
rm -rf ~/.config/nvim/.git
Start Neovim!
nvim
Refer to the comments in the files on how to customize LazyVim.