diff options
| author | krolyxon <krolyxon@tutanota.com> | 2023-05-27 22:33:17 +0530 |
|---|---|---|
| committer | krolyxon <krolyxon@tutanota.com> | 2023-05-27 22:33:17 +0530 |
| commit | 9af6aab3caa6e47d641dc27bc5333e59c5e6e2cb (patch) | |
| tree | 5c1afbaed1590354d4153b39f5167123f3d25b18 /.config/lf/lfrc | |
| parent | 90886f9982408aaeeef6cf9753c8e026c4b1d2e9 (diff) | |
lf: open x-subrip files with nvim
Diffstat (limited to '.config/lf/lfrc')
| -rw-r--r-- | .config/lf/lfrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 9b70adb..0e50191 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -16,6 +16,7 @@ cmd open ${{ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;; image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) setsid -f zathura $fx >/dev/null 2>&1 ;; text/*|application/json|inode/x-empty) $EDITOR $fx;; + text/*|application/x-subrip) $EDITOR $fx;; image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;; image/svg+xml) display -- $f ;; image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|avif\|tif\|ico\)\(_large\)*$" | |
