aboutsummaryrefslogtreecommitdiff
path: root/.config/lf/lfrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/lf/lfrc')
-rw-r--r--.config/lf/lfrc25
1 files changed, 0 insertions, 25 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
deleted file mode 100644
index 56ca258..0000000
--- a/.config/lf/lfrc
+++ /dev/null
@@ -1,25 +0,0 @@
-set ifs "\n"
-set icons
-set sixel true
-set cleaner ~/.config/lf/cleaner
-set previewer ~/.config/lf/scope
-
-cmd open ${{
- case $(file --mime-type "$(readlink -f $f)" -b) in
- text/*|application/json|inode/x-empty|application/x-subrip) $EDITOR $fx;;
- video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
- audio/*|video/x-ms-asf) mpv --audio-display=no $f ;;
- *) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
- esac
-}}
-
-cmd delete ${{
- clear; tput cup $(($(tput lines)/3)); tput bold
- set -f
- printf "%s\n\t" "$fx"
- printf "delete?[y/N]"
- read ans
- [ $ans = "y" ] && rm -rf -- $fx
-}}
-
-map D delete