From b39f15cfbd94bd9e1ffc833e2173735deb61b6f5 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Thu, 24 Oct 2024 12:00:39 +0200 Subject: [PATCH] lf: fix find_word preview --- common/.config/lf/lfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/.config/lf/lfrc b/common/.config/lf/lfrc index 3f14ec2ed..30ed70076 100644 --- a/common/.config/lf/lfrc +++ b/common/.config/lf/lfrc @@ -152,7 +152,7 @@ cmd find_word ${{ --bind="start:reload([ -n {q} ] && $rg_cmd -- {q} || true)" \ --bind="change:reload([ -n {q} ] && $rg_cmd -- {q} || true)" \ --preview-window="right,50%,+{2}/2" \ - --preview="$BAT"' --highlight-line {2} {1} "$FZF_PREVIEW_COLUMNS" "$FZF_PREVIEW_LINES" "$FZF_PREVIEW_LEFT" "$FZF_PREVIEW_TOP"' + --preview="$BAT"' --highlight-line {2} {1}' )" file="$(realpath "$(echo "$res" | cut -d':' -f1 | sed 's/\\/\\\\/g;s/"/\\"/g')" 2>/dev/null)"