echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
4.54k stars 175 forks source link

mini-files: press "@" again to set focus on cwd #844

Closed idelice closed 1 month ago

idelice commented 2 months ago

Contributing guidelines

Module(s)

mini-files

Description

You can do "@" to reveal cwd, and that is nice, but what if I also want to focus on cwd?

That's where I suggest using the same keymap "@" to focus cwd.

Example: @ -> reveal cwd @@ -> reveal + focus cwd

echasnovski commented 2 months ago

Thanks for the suggestion!

I strangely both like it (it looks as interesting usability feature) and don't really like it (might look "too magical" and would require extra complexity in reveal_cwd() function which would not 100% justify its name). I'll think about it.

echasnovski commented 1 month ago

OK, so...

I've gone back and forth on whether it should be added at least two times already. This is usually a sign that I think adding a feature is not a good idea.

My reasoning for both is basically the same as described in previous comment.

Together with possible #928, unfortunately I don't think this feature will be added to 'mini.files'.

Closing as not planned.