changes
This commit is contained in:
parent
7147a2913c
commit
16ce934bd8
@ -161,6 +161,13 @@
|
|||||||
"j" #'mu4e-search-maildir
|
"j" #'mu4e-search-maildir
|
||||||
"m" #'mu4e-search-matching)
|
"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
|
(add-hook 'mu4e-compose-pre-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(set
|
(set
|
||||||
@ -490,12 +497,17 @@ If given prefix arg ARG, skips markdown conversion."
|
|||||||
(if (< (line-end-position) end)
|
(if (< (line-end-position) end)
|
||||||
(forward-line 1)
|
(forward-line 1)
|
||||||
(goto-char end))))))
|
(goto-char end))))))
|
||||||
:general
|
;; there's some conflict with evil-collection making my keybindings
|
||||||
(normal mu4e-headers-mode-map
|
;; not load, so load them in a hook
|
||||||
"t" #'mu4e-headers-mark-thread
|
(defun my-mu4e-headers-mode-setup ()
|
||||||
"s" mu4e-search-map)
|
(general-def normal mu4e-headers-mode-map
|
||||||
(normal mu4e-view-mode-map
|
"t" #'mu4e-headers-mark-thread
|
||||||
"t" #'mu4e-view-mark-thread
|
"s" mu4e-search-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)
|
(provide 'init-email)
|
||||||
|
@ -11,4 +11,7 @@
|
|||||||
|
|
||||||
(use-package protobuf-mode)
|
(use-package protobuf-mode)
|
||||||
|
|
||||||
|
(use-package jenv
|
||||||
|
:hook ((after-init . global-jenv-mode)))
|
||||||
|
|
||||||
(provide 'init-java)
|
(provide 'init-java)
|
||||||
|
@ -28,6 +28,9 @@
|
|||||||
(format-time-string "%Y-%m-%d")))
|
(format-time-string "%Y-%m-%d")))
|
||||||
(newline))
|
(newline))
|
||||||
(goto-char (point-max))))
|
(goto-char (point-max))))
|
||||||
|
(org-babel-do-load-languages
|
||||||
|
'org-babel-load-languages
|
||||||
|
'((plantuml . t)))
|
||||||
:custom
|
:custom
|
||||||
(org-modules '(ol-doi
|
(org-modules '(ol-doi
|
||||||
ol-w3m
|
ol-w3m
|
||||||
@ -76,6 +79,8 @@
|
|||||||
("\\.pdf\\'" . emacs)
|
("\\.pdf\\'" . emacs)
|
||||||
("\\.mm\\'" . default)
|
("\\.mm\\'" . default)
|
||||||
("\\.x?html?\\'" . default)))
|
("\\.x?html?\\'" . default)))
|
||||||
|
(org-plantuml-exec-mode 'jar)
|
||||||
|
(org-plantuml-jar-path (expand-file-name "~/plantuml/plantuml.jar"))
|
||||||
:general
|
:general
|
||||||
(leader-map "oa" #'org-agenda)
|
(leader-map "oa" #'org-agenda)
|
||||||
(leader-map "oc" #'org-capture)
|
(leader-map "oc" #'org-capture)
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
;; -*- lexical-binding: t; -*-
|
;; -*- lexical-binding: t; -*-
|
||||||
(use-package plantuml-mode
|
(use-package plantuml-mode
|
||||||
:mode (("\\.uml\\'" . plantuml-mode)
|
:mode (("\\.uml\\'" . plantuml-mode)
|
||||||
("\\.plantuml\\'" . plantuml-mode))
|
("\\.plantuml\\'" . plantuml-mode)
|
||||||
|
("\\.puml\\'" . plantuml-mode))
|
||||||
:custom
|
:custom
|
||||||
(plantuml-default-exec-mode 'executable)
|
(plantuml-default-exec-mode 'jar)
|
||||||
(plantuml-executable-path (executable-find "plantuml")))
|
(plantuml-jar-path (expand-file-name "~/plantuml/plantuml.jar")))
|
||||||
|
|
||||||
(provide 'init-plantuml)
|
(provide 'init-plantuml)
|
||||||
|
@ -3,6 +3,11 @@
|
|||||||
typeset -U path
|
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)
|
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
|
# zsh-completions homebrew package
|
||||||
if type brew &>/dev/null; then
|
if type brew &>/dev/null; then
|
||||||
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
||||||
|
Loading…
Reference in New Issue
Block a user