earnest ma 2022-11-11 22:15:49 -05:00
parent 11933cbafa
commit 2602a98d53
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
2 changed files with 9 additions and 0 deletions

View File

@ -62,6 +62,13 @@
:desc "Clear recent search result"
"s c" #'evil-ex-nohighlight)
(defun open-in-pympress ()
"Open the current buffer (assumed to be a tex file that has the same name as
the compiled PDF version) in pympress."
(interactive)
(start-process "pympress" nil "pympress" (replace-regexp-in-string "\.tex" ".pdf" buffer-file-name)))
;; (async-shell-command (concat "pympress " (replace-regexp-in-string "\.tex" ".pdf" buffer-file-name))))
;; Whenever you reconfigure a package, make sure to wrap your config in an
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
;;

View File

@ -82,3 +82,5 @@
[credential]
helper = store --file ~/.config/git/credentials
[rebase]
updateRefs = true