Skip to content
/ nvim Public

My personal lua configs for latest stable and nightly neovim

License

Notifications You must be signed in to change notification settings

mike325/nvim

Repository files navigation

Dotvim files

pre-commit

This repo have my personal Neovim settings for latest stable and nightly, I have been collecting and tweaking for a while, feel free to change anything to fit your needs. I try to test this configs in Windows, MacOS and Linux although windows is still unstable from time to time

Status

Linux Window MacOS
linux-stable windows-stable macos-stable
linux-nightly windows-nightly macos-nightly

Install

If you are using Neovim you just need to just clone the repo to ~/.config/nvim

git clone --recursive https://github.com/mike325/nvim.git ~/.config/nvim/

To use Neovim in Windows clone the repo in the following location $env:USERPROFILE/AppData/Local/nvim/

git clone --recursive "https://github.com/mike325/nvim.git" "$env:USERPROFILE/AppData/Local/nvim/"

Feel free to change anything to fit your needs!

My configs do not install any plugins by default, lazy is not detected during startup the command SetupLazy will be available to configure and setup lazy and all plugins.

It also support 3 different startup modes, a full "normal" startup with all plugins, a minimal startup available with VIM_MIN environment variable which only tries to setup mini.nvim and a bare startup using VIM_BARE which start neovim without any external plugins.

To use any of this just setup the environment variable before startup neovim

VIM_MIN=1 nvim  # Will start neovim in mini mode
VIM_BARE=1 nvim  # Will start neovim without any plugins

The configuration is very flexible and would try to setup and work on different environments, plugins are installed only when they are supported in the system neovim is running, Ex. do not install vimtex if latex is not available.

Development

To execute the available test just run make on Linux/macOS or ./test/test.ps1 on windows


If you want to check my old Vim/Neovim compatible settings please check the legacy branch