commit 9a8974cbc9ef1997ca8f9f31b3e18071e8916aca
parent 4426e63d45296030a05b878f951d0bb61458174f
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 4 Mar 2020 01:04:37 +0100
lf: quicklook preview
Former-commit-id: b650a00f6939d215b5b425b24647b739594f40a7
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lf/lfrc b/lf/lfrc
@@ -88,7 +88,9 @@ cmd paste_link %{{
lf -remote "send %ln -s $fil .";
done
}}
-
+cmd ql_preview &{{
+ qlmanage -p "$fx" &> /dev/null;
+}}
# }}}
# Mappings {{{
# execute current file (must be executable)
@@ -98,6 +100,7 @@ map X !$f
# dedicated keys for file opener actions
map o &open $fx
map O push hol
+map v ql_preview
map r source ~/.config/lf/lfrc
map R push :rename<space>