From b130d764858cc063d650236ec7c533c56eb2748c Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Sat, 4 Mar 2023 15:10:43 +0100 Subject: lf: enable previews --- .config/lf/lfrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.config/lf/lfrc') diff --git a/.config/lf/lfrc b/.config/lf/lfrc index bd8f1d5..2a77128 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -1,8 +1,11 @@ set shell sh set shellopts '-eu' set scrolloff 10 -# set hidden -# set icons + +set previewer ctpv +set cleaner ctpvclear +&ctpv -s $id +&ctpvquit $id cmd on-cd &{{ printf "\033]0; $(pwd | sed "s|$HOME|~|") - lf\007" > /dev/tty -- cgit v1.2.3-70-g09d2