diff options
Diffstat (limited to 'lf')
-rw-r--r-- | lf/lfrc | 4 | ||||
-rwxr-xr-x | lf/preview.sh | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,4 @@ +map . set hidden! + +set previewer ~/.config/lf/preview.sh +map i $~/.config/lf/preview.sh $f | less -RX diff --git a/lf/preview.sh b/lf/preview.sh new file mode 100755 index 0000000..46582bf --- /dev/null +++ b/lf/preview.sh @@ -0,0 +1,3 @@ +#!/bin/sh +unset COLORTERM +bat --color=always --theme=base16 "$@" |