Skip to content
Discussion options

You must be logged in to vote

This is indeed a weird behavior which sent me to the rabbit whole of debugging the actual source of it. Sparing all the details, it is an Neovim issue: neovim/neovim#20315 .

To solve an actual problem (if I understood it correctly) of opening an image not in Neovim as a text file but rather in a dedicated OS viewer, see this part of example mappings. Yes, it is a different mapping instead of a regular go_in, but I'd say this is a cleaner approach.

If you still want to do this via go_in, I'd suggest creating a buffer local mapping in 'mini.files' that will check file name and act depending on its extension: either a CLI call or a regular go_in().

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.files
2 participants