|
@ -11,7 +11,6 @@ |
|
|
;; frame size |
|
|
;; frame size |
|
|
(setq initial-frame-alist '((top . 10)(left . 20) |
|
|
(setq initial-frame-alist '((top . 10)(left . 20) |
|
|
(width . 90)(height . 50))) |
|
|
(width . 90)(height . 50))) |
|
|
|
|
|
|
|
|
;; which-key: |
|
|
;; which-key: |
|
|
(use-package which-key |
|
|
(use-package which-key |
|
|
:ensure t |
|
|
:ensure t |
|
@ -86,7 +85,9 @@ |
|
|
:ensure t |
|
|
:ensure t |
|
|
:init |
|
|
:init |
|
|
(progn |
|
|
(progn |
|
|
(setq dashboard-items '((recents . 5) |
|
|
|
|
|
|
|
|
(setq recentf-exclude '("/Users/gmarx/beorg/")) |
|
|
|
|
|
(setq dashboard-items '( |
|
|
|
|
|
;;(recents . 5) |
|
|
(bookmarks . 5) |
|
|
(bookmarks . 5) |
|
|
(projects . 5) |
|
|
(projects . 5) |
|
|
(agenda . 5))) |
|
|
(agenda . 5))) |
|
@ -127,8 +128,9 @@ |
|
|
(setq-default TeX-master nil) ; Query for master file. |
|
|
(setq-default TeX-master nil) ; Query for master file. |
|
|
(setq TeX-auto-save t) ; Enable parse on save. |
|
|
(setq TeX-auto-save t) ; Enable parse on save. |
|
|
(setq TeX-save-query nil) |
|
|
(setq TeX-save-query nil) |
|
|
(setq TeX-command-force "LaTex") |
|
|
|
|
|
(setq latex-run-command "pdflatex") |
|
|
|
|
|
|
|
|
(custom-set-variables '(LaTeX-command "latex -synctex=1")) |
|
|
|
|
|
;;(setq TeX-command-force "LaTex") |
|
|
|
|
|
;;(setq latex-run-command "pdflatex") |
|
|
(setq TeX-parse-self t) ; Enable parse on load. |
|
|
(setq TeX-parse-self t) ; Enable parse on load. |
|
|
(setenv "PATH" (concat (getenv "PATH") ":/Library/TeX/texbin/")) |
|
|
(setenv "PATH" (concat (getenv "PATH") ":/Library/TeX/texbin/")) |
|
|
(setq exec-path (append exec-path '("/Library/TeX/texbin/"))) |
|
|
(setq exec-path (append exec-path '("/Library/TeX/texbin/"))) |
|
@ -188,13 +190,13 @@ |
|
|
:after org |
|
|
:after org |
|
|
:bind ("C-x p" . org-pomodoro)) |
|
|
:bind ("C-x p" . org-pomodoro)) |
|
|
;; org configuration: |
|
|
;; org configuration: |
|
|
(setq org-agenda-files '("~/beorg/phd.org" "~/beorg/students.org" "~/beorg/inbox.org" "~/beorg/academia.org")) |
|
|
|
|
|
(add-hook 'org-mode-hook |
|
|
(add-hook 'org-mode-hook |
|
|
(lambda() |
|
|
(lambda() |
|
|
;; dictionary |
|
|
;; dictionary |
|
|
(org-bullets-mode 1) |
|
|
(org-bullets-mode 1) |
|
|
(ispell-change-dictionary "en") |
|
|
(ispell-change-dictionary "en") |
|
|
(setq org-image-actual-width nil) |
|
|
(setq org-image-actual-width nil) |
|
|
|
|
|
(setq org-tags-column 5) |
|
|
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)) |
|
|
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)) |
|
|
(setq org-latex-create-formula-image-program 'imagemagick) |
|
|
(setq org-latex-create-formula-image-program 'imagemagick) |
|
|
(setq org-startup-indented t) ; Enable `org-indent-mode' by default |
|
|
(setq org-startup-indented t) ; Enable `org-indent-mode' by default |
|
@ -279,6 +281,44 @@ |
|
|
:config |
|
|
:config |
|
|
(setq python-shell-interpreter "python3") |
|
|
(setq python-shell-interpreter "python3") |
|
|
(setq venv-location "~/.virtualenvs")) |
|
|
(setq venv-location "~/.virtualenvs")) |
|
|
|
|
|
;; org-alert |
|
|
|
|
|
(use-package org-alert |
|
|
|
|
|
:ensure t |
|
|
|
|
|
:config |
|
|
|
|
|
(setq alert-default-style 'osx-notifier)) |
|
|
|
|
|
;; reftex |
|
|
|
|
|
(use-package reftex |
|
|
|
|
|
:ensure t |
|
|
|
|
|
:defer t |
|
|
|
|
|
:config |
|
|
|
|
|
(setq reftex-cite-prompt-optional-args t)); Prompt for empty optional arguments in cite |
|
|
|
|
|
;; org-exporter: |
|
|
|
|
|
(use-package ox-twbs |
|
|
|
|
|
:ensure t) |
|
|
|
|
|
;;multiple coursors: |
|
|
|
|
|
(use-package ace-mc |
|
|
|
|
|
:ensure t |
|
|
|
|
|
:config |
|
|
|
|
|
(global-set-key (kbd "C-)") 'ace-mc-add-multiple-cursors) |
|
|
|
|
|
(global-set-key (kbd "C-M-)") 'ace-mc-add-single-cursor)) |
|
|
|
|
|
;;ace-jump: |
|
|
|
|
|
(use-package ace-jump-mode |
|
|
|
|
|
:ensure t |
|
|
|
|
|
:bind ("C-x j" . ace-jump-mode)) |
|
|
|
|
|
;; pyenv: |
|
|
|
|
|
(use-package pyvenv |
|
|
|
|
|
:ensure t |
|
|
|
|
|
:config |
|
|
|
|
|
(pyvenv-mode 1)) |
|
|
|
|
|
;;ess: |
|
|
|
|
|
;(use-package ess |
|
|
|
|
|
; :ensure t) |
|
|
|
|
|
;(require 'ess-site) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;-=-=-=-=-=-=- |
|
|
;; mu4e |
|
|
;; mu4e |
|
|
(use-package mu4e |
|
|
(use-package mu4e |
|
|
:commands (mu4e) |
|
|
:commands (mu4e) |
|
@ -402,22 +442,33 @@ |
|
|
;;(define-key mu4e-headers-mode-map "s" 'helm-mu) |
|
|
;;(define-key mu4e-headers-mode-map "s" 'helm-mu) |
|
|
;;(define-key mu4e-view-mode-map "s" 'helm-mu) |
|
|
;;(define-key mu4e-view-mode-map "s" 'helm-mu) |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
;;agenda files |
|
|
|
|
|
;;(setq org-agenda-files '("~/beorg/phd.org" "~/beorg/students.org" "~/beorg/inbox.org" "~/beorg/academia.org")) |
|
|
|
|
|
(setq recentf-exclude (org-agenda-files)) |
|
|
|
|
|
|
|
|
(custom-set-variables |
|
|
(custom-set-variables |
|
|
;; custom-set-variables was added by Custom. |
|
|
;; custom-set-variables was added by Custom. |
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
;; Your init file should contain only one such instance. |
|
|
;; Your init file should contain only one such instance. |
|
|
;; If there is more than one, they won't work right. |
|
|
;; If there is more than one, they won't work right. |
|
|
|
|
|
'(LaTeX-command "latex -synctex=1") |
|
|
'(custom-safe-themes |
|
|
'(custom-safe-themes |
|
|
(quote |
|
|
(quote |
|
|
("99ea831ca79a916f1bd789de366b639d09811501e8c092c85b2cb7d697777f93" "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default))) |
|
|
|
|
|
|
|
|
("2f1518e906a8b60fac943d02ad415f1d8b3933a5a7f75e307e6e9a26ef5bf570" "71e5acf6053215f553036482f3340a5445aee364fb2e292c70d9175fb0cc8af7" "99ea831ca79a916f1bd789de366b639d09811501e8c092c85b2cb7d697777f93" "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default))) |
|
|
|
|
|
'(org-agenda-files |
|
|
|
|
|
(quote |
|
|
|
|
|
("~/beorg/inbox.org" "~/beorg/academia.org" "~/beorg/water-quality.org" "~/beorg/phd.org" "~/lwc/projects/dynamicSystems/dynamic-systems.org"))) |
|
|
'(package-selected-packages |
|
|
'(package-selected-packages |
|
|
(quote |
|
|
(quote |
|
|
(latex-preview-pane org-pomodoro which-key virtualenvwrapper use-package treemacs-projectile pdf-tools org-bullets mu4e-maildirs-extension mu4e-alert magit helm-projectile helm-mu flycheck expand-region doom-themes doom-modeline dashboard company auctex))) |
|
|
|
|
|
|
|
|
(pyvenv ess ace-mc ox-twbs org-alert latex-preview-pane org-pomodoro which-key virtualenvwrapper use-package treemacs-projectile pdf-tools org-bullets mu4e-maildirs-extension mu4e-alert magit helm-projectile helm-mu flycheck expand-region doom-themes doom-modeline dashboard company auctex))) |
|
|
'(pdf-tools-handle-upgrades nil) |
|
|
'(pdf-tools-handle-upgrades nil) |
|
|
'(safe-local-variable-values |
|
|
'(safe-local-variable-values |
|
|
(quote |
|
|
(quote |
|
|
((LaTeX-includegraphics-read-file . LaTeX-includegraphics-read-file-relative) |
|
|
|
|
|
|
|
|
((fill-column . 5000:) |
|
|
|
|
|
(ispell-local-dictionary . castellano) |
|
|
|
|
|
(ispell-local-directory . castellano) |
|
|
|
|
|
(LaTeX-includegraphics-read-file . LaTeX-includegraphics-read-file-relative) |
|
|
(set-fill-column . 5000) |
|
|
(set-fill-column . 5000) |
|
|
(set-fill-column . 2000) |
|
|
(set-fill-column . 2000) |
|
|
(TeX-auto-save . t) |
|
|
(TeX-auto-save . t) |
|
|