broot
broot copied to clipboard
verbs config support mime type
Hi, I want to use vim for all text-based files, I used to use nnn program options -e to do that, but I didn't see any familiar thing in Broot, how can I do the similar thing?
[[verbs]]
invocation = "edit"
shortcut = "e"
apply_to = "file"
key = "enter"
mime_type = [ "text/*","application/json" ]
external = "vim {file}"
leave_broot = false
It seemed to be more useful to filter using file extensions, that's what implemented today.
Cause there are too many bin/xx which is actually .sh file, are there better way to list all these file extensions?
and what is .gitignore file extension? I tried to use gitignore, but it didn't work, broot still uses the default opener to open it.