summaryrefslogtreecommitdiffstats
path: root/.config/lf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/lf/lfrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 40537c2..a97c360 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -19,6 +19,7 @@ cmd open ${{
application/vnd.openxmlformats-officedocument.wordprocessingml.document) docx2txt $f | less ;;
image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) bsdsetsid zathura $fx >/dev/null 2>&1 ;;
text/html) firefox $fx ;;
+ text/plain) less $fx ;;
text/*|application/json|inode/x-empty) bat --style=plain --tabs 4 --paging=always -f $fx ;;
image/x-xcf) bsdsetsid gimp $f >/dev/null 2>&1 ;;
image/svg+xml) display -- $f ;;