This commit is contained in:
committer
2024-06-01 07:45:13 -05:00
parent 5c825ea03d
commit 51ecbf60d8

View File

@@ -44,7 +44,6 @@ map a :push %mkdir<space> # mkdir command. See wiki if
map b dragon
map e edit
map o &xdg-open $f # dedicated keys for file opener actions
#map O $xdg-open --ask $f
map x $$f # execute current file (must be executable)
map X !$f
@@ -66,6 +65,7 @@ map X !$f
cmd open ${{
case $(file --mime-type -Lb $f) in
text/*) helix $fx;;
reaper/*) reaper $fx;;
*) for f in $fx; do xdg-open $f > /dev/null 2> /dev/null & done;;
esac
}}