1 parent
887748cefd
commit
4440a15a8c
4 files changed
+41
-2
No files matched your search
@@ -35,8 +35,6 @@ map O $mimeopen --ask $f
|
||||
# This command is called when current file is not a directory. You may want to
|
||||
# use either file extensions and/or mime types here. Below uses an editor for
|
||||
# text files and a file opener for the rest.
|
||||
# lf -remote is used here to allow the subshell to work in the background to
|
||||
# avoid redrawing lf when external applications are opened.
|
||||
cmd open &{{
|
||||
case $(file --mime-type -Lb $f) in
|
||||
text/*) lf -remote "send $id \$$EDITOR \$fx";;
|
||||
|
||||
Reference in new issue
Block a user