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