Updates of ‘mini.nvim’
Originally posted on Reddit
Hello, Neovim users!
This is a post about updates to my mini.nvim plugin with some changes after previous post.
I decided to adopt two branch approach with main
(default) having latest development version of plugin and stable
updating only upon releases after public beta-testing. After reacting to a handful of useful feedback there was a 0.1.0 release. Before making 0.2.0 I need your help in beta-testing some big updates (especially if you use Windows). Their general design is mostly stable, but I would like to hear your feedback about undesired behavior (a.k.a bugs), naming (are configuration and function names intuitive), default values (are they convenient), and documentation (is it clear enough).
New modules:
mini.sessions
is a module for session management (read, write, delete) which works using builtinmksession
. It was heavily inspired by ‘vim-startify’ and should work out of the box with sessions created by it (only provide path to where it stored them). Names of main functions are different from ‘vim-startify’ on purpose as I think they are more appropriate when it comes to managing session files.mini.starter
is a minimal, fast, and flexible start screen which I am really excited about. Displayed items are fully customizable both in terms of what they do and how they look (with reasonable defaults). Item selection can be done using prefix query with instant visual feedback. Has example configurations similar to ‘vim-startify’ and ‘dashboard-nvim’. I also made some benchmarks testing its effect on overall startup time (along with alternative plugins).mini.jump
is a module for smarter jumping to a single character (something like clever-f.vim). Initial idea and implementation by Adam Blažek.
Existing modules:
mini.pairs
got an update for a more user-friendly custom mappings. Now they can be done insidesetup()
call and can be automatically registered for<BS>
and<CR>
keys.
Feel free to drop your feedback in comments here or in dedicated GitHub issues (sessions, starter, jump). If you end up adopting new modules right away, please keep in mind that there might be a slight turbulence as a result of this public beta-testing (which I hope will stop after 0.2.0 release planned in a couple of weeks).
Thanks!