main
parent
11933cbafa
commit
2602a98d53
|
@ -62,6 +62,13 @@
|
||||||
:desc "Clear recent search result"
|
:desc "Clear recent search result"
|
||||||
"s c" #'evil-ex-nohighlight)
|
"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
|
;; 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.
|
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -82,3 +82,5 @@
|
||||||
|
|
||||||
[credential]
|
[credential]
|
||||||
helper = store --file ~/.config/git/credentials
|
helper = store --file ~/.config/git/credentials
|
||||||
|
[rebase]
|
||||||
|
updateRefs = true
|
||||||
|
|
Loading…
Reference in New Issue