mini
URL: https://github.com/echasnovski/mini.nvim/
Maintainers: Austin Horstman
plugins.mini.enable
Whether to enable mini.nvim.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.mini.package
The mini.nvim package to use.
Type: package
Default:
pkgs.vimPlugins.mini-nvim
Declared by:
plugins.mini.mockDevIcons
Whether to tell mini.icons
to emulate nvim-web-devicons
for plugins that don’t natively support it.
When enabled, you don’t need to set plugins.web-devicons.enable
. This will replace the need for it.
Type: boolean
Default:
false
NOTE: This option is experimental and the default value may change without notice.
Example:
true
Declared by:
plugins.mini.modules
Enable and configure the mini modules.
The attr name represent mini’s module names, without the "mini."
prefix.
The attr value is an attrset of options provided to the module’s setup
function.
See the plugin documentation for available modules to configure:
Type: attribute set of attribute set of anything
Default:
{ }
Example:
{
ai = {
n_lines = 50;
search_method = "cover_or_next";
};
comment = {
mappings = {
comment = "<leader>/";
comment_line = "<leader>/";
comment_visual = "<leader>/";
textobject = "<leader>/";
};
};
diff = {
view = {
style = "sign";
};
};
starter = {
content_hooks = {
"__unkeyed-1.adding_bullet" = {
__raw = "require('mini.starter').gen_hook.adding_bullet()";
};
"__unkeyed-2.indexing" = {
__raw = "require('mini.starter').gen_hook.indexing('all', { 'Builtin actions' })";
};
"__unkeyed-3.padding" = {
__raw = "require('mini.starter').gen_hook.aligning('center', 'center')";
};
};
evaluate_single = true;
header = ''
███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗
████╗ ██║██║╚██╗██╔╝██║ ██║██║████╗ ████║
██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║██╔████╔██║
██║╚██╗██║██║ ██╔██╗ ╚██╗ ██╔╝██║██║╚██╔╝██║
██║ ╚████║██║██╔╝ ██╗ ╚████╔╝ ██║██║ ╚═╝ ██║
'';
items = {
"__unkeyed-1.buildtin_actions" = {
__raw = "require('mini.starter').sections.builtin_actions()";
};
"__unkeyed-2.recent_files_current_directory" = {
__raw = "require('mini.starter').sections.recent_files(10, false)";
};
"__unkeyed-3.recent_files" = {
__raw = "require('mini.starter').sections.recent_files(10, true)";
};
"__unkeyed-4.sessions" = {
__raw = "require('mini.starter').sections.sessions(5, true)";
};
};
};
surround = {
mappings = {
add = "gsa";
delete = "gsd";
find = "gsf";
find_left = "gsF";
highlight = "gsh";
replace = "gsr";
update_n_lines = "gsn";
};
};
}
Declared by: