aboutsummaryrefslogtreecommitdiff
path: root/lf
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2023-08-27 16:32:21 +0200
committerdavidpkj <davidpenkow1@gmail.com>2023-08-27 16:32:21 +0200
commit30c436b7f35133c808eb34e9425e6df592f2a027 (patch)
treedc1991197fbb65bf1a8cebb53a4218ecf3fcf80c /lf
parent8bb5e75602fd5b7c2eb17fb863b68000b13a65ec (diff)
Update to current general style
Diffstat (limited to 'lf')
-rwxr-xr-xlf/.config/lf/lfrc17
1 files changed, 16 insertions, 1 deletions
diff --git a/lf/.config/lf/lfrc b/lf/.config/lf/lfrc
index 430dbde..01a56e1 100755
--- a/lf/.config/lf/lfrc
+++ b/lf/.config/lf/lfrc
@@ -35,7 +35,7 @@ cmd open ${{
image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;;
image/svg+xml) display -- $f ;;
image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" |
- setsid -f sxiv -aio 2>/dev/null | while read -r file; do
+ setsid -f nsxiv -aio 2>/dev/null | while read -r file; do
[ -z "$file" ] && continue
lf -remote "send select \"$file\""
lf -remote "send toggle"
@@ -74,7 +74,22 @@ cmd copypath ${{
pwd | xclip -selection clipboard
}}
+cmd pdfunite ${{
+ pdfunite "$fx"
+}}
+
+cmd underscoreitall ${{
+ underscoreitall "$fx"
+}}
+
+cmd remerge ${{
+ reMerge "$fx"
+}}
+
# Bindings
+map + remerge
+map _ underscoreitall
+map U pdfunite
map P copypath
map D delete
map E extract