diff --git a/doom/.config/doom/config.el b/doom/.config/doom/config.el index a778e4e..ce9dcf6 100644 --- a/doom/.config/doom/config.el +++ b/doom/.config/doom/config.el @@ -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. ;; diff --git a/git/.config/git/config b/git/.config/git/config index 8700d38..16e71e5 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -82,3 +82,5 @@ [credential] helper = store --file ~/.config/git/credentials +[rebase] + updateRefs = true