dotfiles-x119af6aab
lf: open x-subrip files with nvim
+1 −0
1 file changed
- M .config/lf/lfrc +1 −0
| @@ -16,6 +16,7 @@ cmd open ${{ | |||
| 16 | 16 | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;; | |
| 17 | 17 | image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) setsid -f zathura $fx >/dev/null 2>&1 ;; | |
| 18 | 18 | text/*|application/json|inode/x-empty) $EDITOR $fx;; | |
| 19 | + | text/*|application/x-subrip) $EDITOR $fx;; | |
| 19 | 20 | image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;; | |
| 20 | 21 | image/svg+xml) display -- $f ;; | |
| 21 | 22 | image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|avif\|tif\|ico\)\(_large\)*$" | | |