┏┓
┃┃┏┓┏┓┏┓┓┏┏┓
┣┛┗┻┣┛┗┻┗┫┗┻ Nvim
┃ ┛
A fast, modern, modular, simple, and extensible Neovim configuration handcrafted by Michael-JB.
Note: This is my personal Neovim configuration. I may add/remove/change things at any time, so I do not recommend tracking this repository. Instead, copy the parts that you like or fork it as a starting point for your own configuration.
- Lazy-loading of plugins via lazy.nvim
- Interactive file explorer via neo-tree.nvim and nvim-window-picker
- Auto-install of LSP servers via mason.nvim, mason-lspconfig.nvim and nvim-lspconfig
- Syntax highlighting via nvim-treesitter
- Autocomplete via nvim-cmp
- Auto-formatting via conform.nvim and mason-conform.nvim
- Fuzzy-search everywhere via telescope.nvim
- Fast code navigation via flash.nvim
- Annotated keymaps via which-key.nvim
- GitHub Copilot via copilot.vim
- Inline git status and blame via gitsigns.nvim
- Light and dark themes via kanagawa.nvim
- ...
Note: I've only tested this configuration on Unix systems.
- Git >= 2.19.0
- Neovim >= 0.10.0
- A C compiler toolchain for
tree-sitter(more info) - Some things that you probably have already:
curl,tar,unzip,gzip.
- A terminal that supports true colour and undercurl, e.g., iTerm2 or WezTerm.
- A Nerd Font of your choice for icons
- Ripgrep for searching with Telescope
- Node.js for GitHub Copilot
- Language-specific package managers (e.g.,
cargoandnpm) for LSP servers in these languages
- Clone this repository to
~/.config/nvim:
mkdir -p ~/.config
git clone git@github.com:Michael-JB/papaya-nvim.git ~/.config/nvim- Run
nvim. It will automatically install the plugins. - Run
:checkhealthto make sure everything is set up correctly. - Run
<leader>asto set up GitHub Copilot.
- The
<leader>key is mapped toSpace. To view available commands, press the leader key and wait for the which-key menu to appear. - You can install language servers with Mason. Open Mason with
<leader>lm. - You have to configure formatters by modifying
lua/plugins/fmt.lua. Configured formatters will automatically be installed via Mason.
