commit c82be29fdf442b496b96388c989a94feb8455cda
parent 67e346fd65d1f628e31d23364466e3e305a8d754
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 21 Jan 2021 21:32:00 +0100
lfrc: remove empty folders & XLD
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lf/lfrc b/lf/lfrc
@@ -226,6 +226,9 @@ cmd filter %{{
lf -remote "send $id unselect"
lf -remote "send $id glob-select $filter_expr"
}}
+
+cmd rmempty %find . -type d -empty -depth -delete
+cmd xld %open -a XLD $f
# }}}
# Mappings {{{
# execute current file (must be executable)
@@ -262,7 +265,7 @@ map cw push :rename<space>
map E $$EDITOR $fx
map D trash
map <enter> open $fx
-map S shell
+map S shell-pipe
map Y copy_path
map Q queue