mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
Emacs : latex-preview to zathura
This commit is contained in:
@ -376,23 +376,28 @@ capture was not aborted."
|
||||
;; --------------------------------------------------------------------------------------------
|
||||
;; - Open with external program
|
||||
;; --------------------------------------------------------------------------------------------
|
||||
(use-package openwith
|
||||
:after-call pre-command-hook
|
||||
:config
|
||||
(setq large-file-warning-threshold nil)
|
||||
(openwith-mode t)
|
||||
(setq openwith-associations
|
||||
(list (list (openwith-make-extension-regexp
|
||||
'("mpg" "mpeg" "mp3" "mp4" "m4v"
|
||||
"avi" "wmv" "wav" "mov" "flv"
|
||||
"ogm" "ogg" "mkv"))
|
||||
"mpv"
|
||||
'(file))
|
||||
(list (openwith-make-extension-regexp
|
||||
'("pdf"))
|
||||
"zathura"
|
||||
'(file)))))
|
||||
;;(use-package openwith
|
||||
;; :after-call pre-command-hook
|
||||
;; :config
|
||||
;; (setq large-file-warning-threshold nil)
|
||||
;; (openwith-mode t)
|
||||
;; (setq openwith-associations
|
||||
;; (list (list (openwith-make-extension-regexp
|
||||
;; '("mpg" "mpeg" "mp3" "mp4" "m4v"
|
||||
;; "avi" "wmv" "wav" "mov" "flv"
|
||||
;; "ogm" "ogg" "mkv"))
|
||||
;; "mpv"
|
||||
;; '(file))
|
||||
;; (list (openwith-make-extension-regexp
|
||||
;; '("pdf"))
|
||||
;; "zathura"
|
||||
;; '(file)))))
|
||||
;; --------------------------------------------------------------------------------------------
|
||||
;; - Lang
|
||||
;; --------------------------------------------------------------------------------------------
|
||||
(setq! +latex-viewers '(zathura))
|
||||
; --------------------------------------------------------------------------------------------
|
||||
;;
|
||||
;; - KeyBindings
|
||||
;; --------------------------------------------------------------------------------------------
|
||||
(map! "C-s" 'consult-line)
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
magit ; a git porcelain for Emacs
|
||||
;;make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
;;pdf ; pdf enhancements
|
||||
pdf ; pdf enhancements
|
||||
;;prodigy ; FIXME managing external services & code builders
|
||||
;;rgb ; creating color strings
|
||||
;;taskrunner ; taskrunner for all your projects
|
||||
|
||||
@ -57,3 +57,4 @@
|
||||
;;(package! org-caldav)
|
||||
(package! openwith)
|
||||
(package! org-super-agenda)
|
||||
(package! graphviz-dot-mode)
|
||||
|
||||
Reference in New Issue
Block a user