Welcome to my personal Neovim configuration. There are already great configurations like LunarVim or LazyVim that allow a quick start into Neovim for developers. I decided to create my own configuration from scratch because I liked to learn more about ways to customize Neovim. Also, I felt the need to decide for myself which feature I need and which one I don't. So I see this as a way to question my own needs for an IDE.
I will also recommend neovimcraft.com by Eric Bower, where you can find a lot of interessting things and inspirations.
If you have not yet installed Neovim, this is the first step. You can find more information about this at https://github.com/neovim/neovim/blob/master/INSTALL.md.
You have to clone the repository to a specific location, because Neovim expects the configuration in the following directories:
~/.config/nvim
~/AppData/Local/nvim
To use the configuration, the repository only needs to be cloned into the configuration folder.
git clone https://github.com/mgrosser3/nvim.git ~/.config/nvim
git clone https://github.com/mgrosser3/nvim.git ~/AppData/Local/nvim
[!TIP] You can also set the environment variable
XDG_CONFIG_HOME
to specify the storage location for your configuration ($XDG_CONFIG_HOME/nvim
).I personally prefer a config folder in my home direcotry on Windows (
XDG_CONFIG_HOME = $env:USERPROFILE\.config
). Because I don't like looking for things in the hidden Windows AppData folder. I would like to have a similar experiance as on Linux.
https://www.jetbrains.com/de-de/lp/mono/
You need it to install vim-language-server, see therefor :healthcheck mason.
https://github.com/folke/lazy.nvim
https://github.com/rose-pine/neovim
https://github.com/nvim-lualine/lualine.nvim
https://github.com/nvim-telescope/telescope.nvim
https://github.com/nvim-treesitter/nvim-treesitter
https://github.com/VonHeikemen/lsp-zero.nvim
https://github.com/folke/which-key.nvim
Since a few additional tools are needed from time to time, it makes
sense to install a package manager like scoop.
For example Treesitter requires a C++ compiler, which we can easily
install using scoop install gcc
.
There are two different versions of the PowerShell. For details more details see: [Differences between Windows PowerShell 5.1 and PowerShell 7.x] (https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.3)
It is recommended to install it, because the mason plugin requires PowerShell 7.x (pwsh.exe).
Search for the latest version: winget search Microsoft.PowerShell
Name Id Version Source
--------------------------------------------------------------
PowerShell Microsoft.PowerShell 7.3.8.0 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.4.0.6 winget
Install the PowerShell: winget install --id Microsoft.PowerShell --source winget