A lightweight and mordern neovim configuration for my personal usage.
- Neovim >= 0.8.0 (needs to be built with LuaJIT)
- Git >= 2.19.0 (for partial clones support)
- Nerd Font (for statusline or file explorer plugins icons)
git clone https://github.com/zhaohongxuan/nvim ~/.config/nvim --depth 1
~/.config/nvim (main*) » tree xuan@xuans
.
├── README.md
├── init.lua
├── lazy-lock.json
└── lua
├── core
│ ├── autocmds.lua
│ ├── keymaps.lua
│ └── options.lua
└── plugins
├── configs
│ ├── alpha-nvim.lua
│ ├── autopairs.lua
│ ├── bufferline.lua
│ ├── catppuccin.lua
│ ├── cmp.lua
│ ├── comment.lua
│ ├── gitsigns.lua
│ ├── hop.lua
│ ├── lsp.lua
│ ├── lualine.lua
│ ├── nvim-tree.lua
│ ├── telescope.lua
│ └── treesitter.lua
└── init.lua
5 directories, 20 files
- the
init.lua
is the entrance of the nvim configuration - the
plugins-setup.lua
contains all plugins init - the
keymaps.lua
contains all keymap
- Neovim Theme schema via tokyonight
- Plugin management via Lazy.nvim.
- Code completion via nvim-cmp.
- Auto pair via nvim-autopairs
- Language server protocol (LSP) support via nvim-lspconfig.
- Git integration via vim-signs.
- Fuzzy searching via Telescope.
- Snazzy buffer line via bufferline
- Code commenting via vim-commentary.
- Smarter and faster matching pair management (add, replace or delete) via vim-sandwich.
- Fast buffer jump via hop.nvim.
- Toggle terminal during edit session via toggleterm
- Beautiful statusline via lualine.nvim.
- File tree explorer via nvim-tree.lua.
- Code highlighting via nvim-treesitter.
TBD
- Performance