Open BigBrotherJu opened 9 months ago
The default config may not contain an editor that your system has, which is why its prompting :open_with
For mac, I would recommend enabling
xdg_open = true
xdg_open_fork = true
inside joshuto.toml
The default config may not contain an editor that your system has, which is why its prompting
:open_with
But I already installed micro and bat. According to the default mimetype.toml
, one of them should be used when opening text file. @kamiyaa
Figured it out. The default mimetype.toml
has to be present in my ~/.config/joshuto
folder for l
or enter
to work.
This seems to contradict the statement in config doc:
Joshuto's behavior is:
- If there exists a config file, use that config. (No default or inherited values from a default config)
- If there is no config file, a default config will be used (found under config/)
In my case, if there is no mimetype.toml
in ~/.config/joshuto
, the default mimetype.toml
is not used.
I installed joshuto
on Arch looking to try a faster ranger
but every file I open just prompts :open_with
as the OP here describes.
I notice that the joshuto
package (or the joshuto-bin
package) on Arch just installs a single file /usr/bin/joshuto
does that seem right?
When I press
l
orenter
in joshuto, the text file (with extention and without extention) under cursor is not opened according tomimetype.toml
. Instead, the bottom line displays:open_with
.My config folder
~/.config/joshuto
does not containmimetype.toml
, so joshuto should be using the default one.I'm on Mac Sonoma with joshuto 0.9.6.