This commit is contained in:
Jeremy Dormitzer 2023-12-04 07:55:18 -05:00
parent 7147a2913c
commit 16ce934bd8
5 changed files with 36 additions and 10 deletions

View File

@ -161,6 +161,13 @@
"j" #'mu4e-search-maildir
"m" #'mu4e-search-matching)
(general-def mu4e-headers-mode-map
"s" mu4e-search-map)
(general-def mu4e-view-mode-map
"s" mu4e-search-map)
(add-hook 'mu4e-compose-pre-hook
(lambda ()
(set
@ -490,12 +497,17 @@ If given prefix arg ARG, skips markdown conversion."
(if (< (line-end-position) end)
(forward-line 1)
(goto-char end))))))
:general
(normal mu4e-headers-mode-map
;; there's some conflict with evil-collection making my keybindings
;; not load, so load them in a hook
(defun my-mu4e-headers-mode-setup ()
(general-def normal mu4e-headers-mode-map
"t" #'mu4e-headers-mark-thread
"s" mu4e-search-map)
(normal mu4e-view-mode-map
"s" mu4e-search-map))
(defun my-mu4e-view-mode-setup ()
(general-def normal mu4e-view-mode-map
"t" #'mu4e-view-mark-thread
"s" mu4e-search-map))
(add-hook 'mu4e-headers-mode-hook #'my-mu4e-headers-mode-setup)
(add-hook 'mu4e-view-mode-hook #'my-mu4e-view-mode-setup))
(provide 'init-email)

View File

@ -11,4 +11,7 @@
(use-package protobuf-mode)
(use-package jenv
:hook ((after-init . global-jenv-mode)))
(provide 'init-java)

View File

@ -28,6 +28,9 @@
(format-time-string "%Y-%m-%d")))
(newline))
(goto-char (point-max))))
(org-babel-do-load-languages
'org-babel-load-languages
'((plantuml . t)))
:custom
(org-modules '(ol-doi
ol-w3m
@ -76,6 +79,8 @@
("\\.pdf\\'" . emacs)
("\\.mm\\'" . default)
("\\.x?html?\\'" . default)))
(org-plantuml-exec-mode 'jar)
(org-plantuml-jar-path (expand-file-name "~/plantuml/plantuml.jar"))
:general
(leader-map "oa" #'org-agenda)
(leader-map "oc" #'org-capture)

View File

@ -1,9 +1,10 @@
;; -*- lexical-binding: t; -*-
(use-package plantuml-mode
:mode (("\\.uml\\'" . plantuml-mode)
("\\.plantuml\\'" . plantuml-mode))
("\\.plantuml\\'" . plantuml-mode)
("\\.puml\\'" . plantuml-mode))
:custom
(plantuml-default-exec-mode 'executable)
(plantuml-executable-path (executable-find "plantuml")))
(plantuml-default-exec-mode 'jar)
(plantuml-jar-path (expand-file-name "~/plantuml/plantuml.jar")))
(provide 'init-plantuml)

View File

@ -3,6 +3,11 @@
typeset -U path
path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin /opt/homebrew/opt/ruby/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path)
if type jenv &>/dev/null; then
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
fi
# zsh-completions homebrew package
if type brew &>/dev/null; then
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH