How to configure lazy.nvim with mini-files?

I recently switched to lazy.nvim after a few years away. I've installed mini.nvim, and want to configure one of the key mappings for mini-files.

Nothing I've tried is working. I'm loading plugins.lua from my lazy.lua, which is as follows:

 { "echasnovski/mini.nvim", version = false, config = function() require("mini.files").setup({ mappings = { close = "q", go_in = "x", go_in_plus = "<CR>", go_out = "h", go_out_plus = "H", reset = "<BS>", reveal_cwd = "@", show_help = "g?", synchronize = "=", trim_left = "<", trim_right = ">", }, }) end, }, { "Pocco81/auto-save.nvim" }, } 

How can I do this? See the reference for mini-files to see the settings options, but it's not picking up my changes (remapping go_in_plus to ).

Is there a proper way to set plugin config in lazy.nvim?

EDIT: It looks like lazyvim has some sort of extra plugin for mini-files, I'm not sure why, but here is the relevant page

Related questions 2694 How can I get query string values in JavaScript? 5 neovim auto-indentation nuances 2 Using a custom sbt plugin Related questions 2694 How can I get query string values in JavaScript? 5 neovim auto-indentation nuances 2 Using a custom sbt plugin 1 Best way to order menu items injected by an IoC/plugin Framework 334 How do I list loaded plugins in Vim? 3 Eclipse Plugin to granularly monitor editor changes 166 VIM ctrlp.vim plugin: how to rescan files? 0 Grails JBOSSAS Plugin -- How To get it To Work? 0 integrating an angular plugin 7 Load an assembly without locking file AND keep the right Binding Context Load 7 more related questions Show fewer related questions

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like