Closed mblarsen closed 2 weeks ago
Thanks for the issue!
Unfortunately, I can not reproduce. I have no error and everything opens as expected after pressing -
again inside a file opened from the explorer.
There are some issues with reproduction steps:
I navigate to a file L
which is a bit ambiguous and contradicts the config. Do you mean you open a file with go_in_plus
mapping inside an explorer.-
while inside a file opened with 'mini.files' (and there is no explorer currently opened)?If it doesn't work with -
but works with some other mapping, there seems to be a conflicting mappings. What does :nmap -
show?
Hmm, after running with only mini and nothing else I don't have the issue either. Sorry for the alarm, must be some conflicting plugin.
Regarding L
I was flipping back from L
and and <cr>
(coming from oil.nvim) so wrote up the wrong steps 👐
FYI -- the conflict was https://github.com/m4xshen/hardtime.nvim
Even when disabling hardtime in minifiles it still fails.
return {
"m4xshen/hardtime.nvim",
wnabled = true,
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
opts = {
disabled_filetypes = { "minifiles" },
restriction_mode = "hint",
},
}
Thanks for the follow up!
This is somewhat expected because 'hardtime.nvim' treats -
as special key. So might be doing something not compatible with MiniFiles.open()
.
Contributing guidelines
Module(s)
mini.files
Description
I've configured mini.files to open on
-
(minus).This works great the first time but second time I get the error below.
If I us a different map, e.g.
gf
there's no issues.This is my setup (Lazy.nvim)
Neovim version
0.10.0
Steps to reproduce
-
L
-
againExpected behavior
No response
Actual behavior
Small mini.files window opens with nothing in it