u
This commit is contained in:
@@ -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
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user