diff --git a/config/lf/preview b/config/lf/preview index 73f7bc5..1c011f3 100755 --- a/config/lf/preview +++ b/config/lf/preview @@ -50,6 +50,7 @@ case "$(printf "%s\n" "$(readlink -f "$1")" | awk '{print tolower($0)}')" in *.doc) catdoc "$1" ;; *.docx) docx2txt "$1" ;; *.xml|*.html) w3m -dump "$1";; + *.json ) jq '.' "$1";; *.xls|*.xlsx) ssconvert --export-type=Gnumeric_stf:stf_csv "$1" "fd://1" | batorcat --language=csv ;;