Emacs : latex-preview to zathura

This commit is contained in:
2022-05-31 13:13:17 +09:00
parent 6d15238d10
commit 2426cf5375
3 changed files with 23 additions and 17 deletions

View File

@ -376,23 +376,28 @@ capture was not aborted."
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
;; - Open with external program ;; - Open with external program
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
(use-package openwith ;;(use-package openwith
:after-call pre-command-hook ;; :after-call pre-command-hook
:config ;; :config
(setq large-file-warning-threshold nil) ;; (setq large-file-warning-threshold nil)
(openwith-mode t) ;; (openwith-mode t)
(setq openwith-associations ;; (setq openwith-associations
(list (list (openwith-make-extension-regexp ;; (list (list (openwith-make-extension-regexp
'("mpg" "mpeg" "mp3" "mp4" "m4v" ;; '("mpg" "mpeg" "mp3" "mp4" "m4v"
"avi" "wmv" "wav" "mov" "flv" ;; "avi" "wmv" "wav" "mov" "flv"
"ogm" "ogg" "mkv")) ;; "ogm" "ogg" "mkv"))
"mpv" ;; "mpv"
'(file)) ;; '(file))
(list (openwith-make-extension-regexp ;; (list (openwith-make-extension-regexp
'("pdf")) ;; '("pdf"))
"zathura" ;; "zathura"
'(file))))) ;; '(file)))))
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
;; - Lang
;; --------------------------------------------------------------------------------------------
(setq! +latex-viewers '(zathura))
; --------------------------------------------------------------------------------------------
;;
;; - KeyBindings ;; - KeyBindings
;; -------------------------------------------------------------------------------------------- ;; --------------------------------------------------------------------------------------------
(map! "C-s" 'consult-line) (map! "C-s" 'consult-line)

View File

@ -99,7 +99,7 @@
magit ; a git porcelain for Emacs magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs ;;make ; run make tasks from Emacs
;;pass ; password manager for nerds ;;pass ; password manager for nerds
;;pdf ; pdf enhancements pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders ;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings ;;rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects ;;taskrunner ; taskrunner for all your projects

View File

@ -57,3 +57,4 @@
;;(package! org-caldav) ;;(package! org-caldav)
(package! openwith) (package! openwith)
(package! org-super-agenda) (package! org-super-agenda)
(package! graphviz-dot-mode)