sh: Add default open script

Simple wrapper for xdg-open functionality. Simply refers
to xdg-open except if there exists mimeo on the system
which it will refer to instead.

So, a simple preference modificator for mimeo over
xdg-open since that is my preference too.

Also gave it a short name so I can do open whenever I
want and don't have to tax my left hand with tying xdg.
This commit is contained in:
Marty Oehme 2023-12-04 08:26:59 +01:00
parent dfaed8c9dd
commit 4cc03a611a
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
8 changed files with 34 additions and 28 deletions

View file

@ -576,6 +576,9 @@ fileviewer *.md
" use custom viewer script for rest
fileviewer * vifm-default-viewer %c
" use our own custom opener
filetype * open
" Syntax highlighting in preview
"
" Explicitly set highlight type for some extensions