Krolyxon
Commit 9af6aab

Branches

Refs →

dotfiles-x119af6aab

lf: open x-subrip files with nvim

Author
krolyxon
Date
2023-05-27 22:33 +0530
Parent
90886f9
Commit
9af6aab3caa6e47d641dc27bc5333e59c5e6e2cb

+1 −0

1 file changed

  1. M .config/lf/lfrc +1 −0
M .config/lf/lfrc View
@@ -16,6 +16,7 @@ cmd open ${{
1616 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;;
1717 image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) setsid -f zathura $fx >/dev/null 2>&1 ;;
1818 text/*|application/json|inode/x-empty) $EDITOR $fx;;
19+ text/*|application/x-subrip) $EDITOR $fx;;
1920 image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;;
2021 image/svg+xml) display -- $f ;;
2122 image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|avif\|tif\|ico\)\(_large\)*$" |