mini.nvim icon indicating copy to clipboard operation
mini.nvim copied to clipboard

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

Open idelice opened this issue 1 year ago • 1 comments

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

idelice avatar Apr 29 '24 11:04 idelice

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 avatar Apr 29 '24 12:04 echasnovski

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.

echasnovski avatar May 31 '24 12:05 echasnovski