MiniMax – MINI (original) (raw)

mini.nvim

Generated from the main branch of ‘MiniMax’

Neovim with maximum MINI

MiniMax is a Neovim config generator. After running a script, your config will:

Explore reference configs. The most appropriate one is picked during generation based on Neovim version.

See change log for a history of changes.

If you find this project useful, please consider leaving a Github star.

How it looks

During setup Picker

Clues File explorer

What it is not

It is not a “Neovim distribution”, i.e. there are no automatic config updates. After your config is set up, it is yours to improve and update (which makes this approach more stable). You can still see how MiniMax itself gets updated (see Updating and Change log) and adjust the config accordingly.

It is not a comprehensive guide on how to set up and use every Neovim feature and plugin. Most of the config parts are carefully chosen in order to reach a balance between stability and features.

Requirements

Software

Knowledge

Basic level of understanding of how to:

Motivation

Setting up

This sets up temporary ‘nvim-minimax’ config and doesn’t affect your regular config. To set up a full time config, remove all instances of NVIM_APPNAME=nvim-minimax.

# Download
git clone --filter=blob:none https://github.com/nvim-mini/MiniMax ./MiniMax

# Set up config (copies config files and possibly initiates Git repository)
NVIM_APPNAME=nvim-minimax nvim -l ./MiniMax/setup.lua

# Start Neovim
NVIM_APPNAME=nvim-minimax nvim

# On Neovim>=0.12 press `y` to confirm installation of all listed plugins
# Wait for plugins to install (there should be no new notifications)

# Enjoy your new config!
# Start with reading its files. Type `<Space>`+`e`+`i` to open 'init.lua'.

Notes:

Updating

MiniMax doesn’t provide fully automatic updates of an already set up config. The recommended approach is to manually explore reference configs and change log to see the changes.

The closest approach to automatic updating is:

# Pull updates of MiniMax itself
git -C ./MiniMax pull

# Run setup script again. Remove `NVIM_APPNAME=nvim-minimax` for full-time config
NVIM_APPNAME=nvim-minimax nvim -l ./MiniMax/setup.lua

# There probably be messages about backed up files:
# 1. Examine 'MiniMax-backup' directory with conflicting files.
# 2. Recover the ones you need.
# 3. Delete the backup directory.

Similar projects