Announcing ‘mini.basics’

announce
reddit
Common configuration presets for options/mappings/autocommands
Author

Evgeni Chasnovski

Published

January 29, 2023

Originally posted on Reddit

Hello, Neovim users!

It is me again, posting this time about mini.basics - a module of mini.nvim with common configuration presets for options, mappings, and autocommands. You can also install from a standalone Git repository.

A while back I did a public Neovim options survey (here are the results). One of the goals was to gather a commonly used option values to create a “crowd-sourced” moderate version of tpope/vim-sensible. Well, this is it.

It has the following features:

Main goal of ‘mini.basics’ is to provide a relatively easier way for new-ish Neovim users to have a better “works out of the box” experience while having documented relevant options/mappings/autocommands to study. But more seasoned users almost surely will find something useful. Browsing source code and copying only some options/mappings/autocommands is ok, of course.

Amusingly, development of this “basic” module led to creation of two other “less basic” modules: mini.move (here is a the announcement) and one more that needs polishing. Initially I planned to incorporate most of tpope/vim-unimpaired in ‘mini.basics’, but decided to use here only option toggling mappings (with default \ prefix; can be configured); “next/previous” functionality will be in separate module. Stay tuned!

Please, check it out and tell me what you think! Either here in comments or in dedicated beta-testing issue.

Thanks!