diff options
Diffstat (limited to 'lf')
-rwxr-xr-x | lf/.config/lf/lfrc | 17 |
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 |