update
This commit is contained in:
189
.spacemacs
189
.spacemacs
@@ -36,6 +36,7 @@ This function should only modify configuration layer settings."
|
||||
multiple-cursors ;; https://www.spacemacs.org/layers/+misc/multiple-cursors/README.html#key-bindings
|
||||
shell
|
||||
yaml
|
||||
notmuch
|
||||
;; themes-megapack
|
||||
nginx
|
||||
toml
|
||||
@@ -94,6 +95,7 @@ This function should only modify configuration layer settings."
|
||||
dotspacemacs-additional-packages '(
|
||||
org-mac-link
|
||||
org-alert
|
||||
org-msg
|
||||
;org-caldav
|
||||
;org-protocol
|
||||
aidermacs
|
||||
@@ -618,6 +620,146 @@ configuration.
|
||||
Put your configuration code here, except for variables that should be set
|
||||
before packages are loaded."
|
||||
|
||||
;; email config
|
||||
;; the saved command is a work-around for not working address completion
|
||||
(setq notmuch-show-logo nil
|
||||
notmuch-search-oldest-first nil
|
||||
notmuch-address-command "/Users/jetpac/bin/notmuch-address"
|
||||
|
||||
;; these are default
|
||||
;; notmuch-hello-sections '(notmuch-hello-insert-header notmuch-hello-insert-saved-searches
|
||||
;; notmuch-hello-insert-search
|
||||
;; notmuch-hello-insert-recent-searches
|
||||
;; notmuch-hello-insert-alltags
|
||||
;; notmuch-hello-insert-footer)
|
||||
)
|
||||
|
||||
(setq notmuch-saved-searches
|
||||
'((:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key "i")
|
||||
(:name "To me Unread" :query "tag:me AND tag:unread")
|
||||
)
|
||||
)
|
||||
|
||||
;; snippet for direct sending (doesn't work when off VPN)
|
||||
;; (setq send-mail-function 'smtpmail-send-it
|
||||
;; smtpmail-smtp-server "internal-mail-router.oracle.com"
|
||||
;; smtpmail-smtp-service 25
|
||||
;; smtpmail-stream-type nil
|
||||
;; user-mail-address "petr.nyc@oracle.com"
|
||||
;; user-full-name "Petr Nyc")
|
||||
|
||||
;; Use local sendmail (Postfix)
|
||||
(setq send-mail-function 'sendmail-send-it
|
||||
message-send-mail-function 'sendmail-send-it
|
||||
sendmail-program "/usr/sbin/sendmail"
|
||||
mail-specify-envelope-from t
|
||||
mail-envelope-from 'header
|
||||
user-mail-address "petr.nyc@oracle.com"
|
||||
user-full-name "Petr Nyc"
|
||||
)
|
||||
|
||||
(setq notmuch-fcc-dirs "exchange/Sent")
|
||||
|
||||
(use-package org-msg
|
||||
:after notmuch
|
||||
:config
|
||||
(setq mail-user-agent 'notmuch-user-agent)
|
||||
(setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil \\n:t"
|
||||
org-msg-startup "hidestars indent inlineimages"
|
||||
;; org-msg-greeting-fmt "\nHi *%s*,\n\n"
|
||||
org-msg-greeting-name-limit 3
|
||||
org-msg-default-alternatives '((new . (text html))
|
||||
(reply-to-html . (text html))
|
||||
(reply-to-text . (text)))
|
||||
;; org-msg-signature "
|
||||
;; Regards,
|
||||
;; #+begin_signature
|
||||
;; Petr
|
||||
;; #+end_signature
|
||||
;; \\\\
|
||||
;; "
|
||||
)
|
||||
|
||||
;; a test for 'nicer' emails
|
||||
;; (setq org-msg-enforce-css
|
||||
;; '((img (("max-width" . "100%")))
|
||||
;; (body (("font-family" . "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif")
|
||||
;; ("font-size" . "14px")
|
||||
;; ("line-height" . "1.6")
|
||||
;; ("color" . "#333")))
|
||||
;; (h1 (("font-size" . "20px")
|
||||
;; ("font-weight" . "bold")
|
||||
;; ("margin-top" . "1em")
|
||||
;; ("margin-bottom" . "0.5em")
|
||||
;; ("color" . "#1a1a1a")))
|
||||
;; (h2 (("font-size" . "18px")
|
||||
;; ("font-weight" . "bold")
|
||||
;; ("margin-top" . "1em")
|
||||
;; ("margin-bottom" . "0.5em")
|
||||
;; ("color" . "#222")))
|
||||
;; (h3 (("font-size" . "16px")
|
||||
;; ("font-weight" . "bold")
|
||||
;; ("margin-top" . "1em")
|
||||
;; ("margin-bottom" . "0.5em")
|
||||
;; ("color" . "#333")))
|
||||
;; (a (("color" . "#0066cc")
|
||||
;; ("text-decoration" . "none")
|
||||
;; ("border-bottom" . "1px solid #0066cc")))
|
||||
;; (blockquote (("border-left" . "3px solid #ccc")
|
||||
;; ("margin" . "10px 0 10px 15px")
|
||||
;; ("padding-left" . "10px")
|
||||
;; ("font-style" . "italic")
|
||||
;; ("color" . "#555")))
|
||||
;; (pre (("background-color" . "#f6f8fa")
|
||||
;; ("border" . "1px solid #e1e4e8")
|
||||
;; ("border-radius" . "4px")
|
||||
;; ("padding" . "10px")
|
||||
;; ("overflow" . "auto")
|
||||
;; ("font-family" . "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace")
|
||||
;; ("font-size" . "13px")))
|
||||
;; (code (("background-color" . "#f6f8fa")
|
||||
;; ("padding" . "2px 4px")
|
||||
;; ("border-radius" . "3px")
|
||||
;; ("font-family" . "monospace")
|
||||
;; ("font-size" . "85%")))
|
||||
;; ;; ("pre .todo" (("color" . "#6a737d")
|
||||
;; ;; ("font-style" . "italic")
|
||||
;; ;; ("background-color" . "transparent")))
|
||||
;; ;; ("pre .done" (("color" . "#6a737d")
|
||||
;; ;; ("font-style" . "italic")
|
||||
;; ;; ("background-color" . "transparent")))
|
||||
;; ;; ("pre .comment" (("color" . "#000000")
|
||||
;; ;; ("font-style" . "italic")
|
||||
;; ;; ("background-color" . "#fffff")))
|
||||
;; ;; ("pre .comment-delimiter" (("color" . "#000000")
|
||||
;; ;; ("font-style" . "italic")
|
||||
;; ;; ("background-color" . "#ffffff" )))
|
||||
;; ;; (".font-lock-comment-face" (("color" . "#000000")
|
||||
;; ;; ("font-style" . "italic")
|
||||
;; ;; ("background-color" . "#ffffff")))
|
||||
;; ;; (".font-lock-comment-delimiter-face" (("color" . "#000000")
|
||||
;; ;; ("font-style" . "italic")
|
||||
;; ;; ("background-color" . "#ffffff")))
|
||||
;; (table (("border-collapse" . "collapse")
|
||||
;; ("width" . "100%")
|
||||
;; ("margin" . "1em 0")))
|
||||
;; (th (("background-color" . "#f6f8fa")
|
||||
;; ("border" . "1px solid #dfe2e5")
|
||||
;; ("padding" . "6px 13px")
|
||||
;; ("font-weight" . "bold")))
|
||||
;; (td (("border" . "1px solid #dfe2e5")
|
||||
;; ("padding" . "6px 13px")))))
|
||||
|
||||
|
||||
|
||||
(org-msg-mode)
|
||||
)
|
||||
|
||||
;; (with-eval-after-load 'org-msg
|
||||
;; )
|
||||
|
||||
|
||||
;; / email config
|
||||
|
||||
;; setting gui font for gui only
|
||||
(defun my/set-gui-font ()
|
||||
@@ -867,6 +1009,8 @@ before packages are loaded."
|
||||
(with-eval-after-load 'markdown-mode
|
||||
(define-key markdown-mode-map (kbd "C-c x") 'my/markdown-toggle-checkbox))
|
||||
|
||||
;; (with-eval-after-load 'flycheck
|
||||
;; (flycheck-add-next-checker 'lsp '(warning . json-jsonlint)))
|
||||
|
||||
(setq calendar-week-start-day 1) ;; calendar start on Monday
|
||||
|
||||
@@ -889,7 +1033,9 @@ before packages are loaded."
|
||||
(setq aidermacs-default-chat-mode 'architect
|
||||
aidermacs-default-model "oca/gpt5"
|
||||
aidermacs-backend 'vterm ;; Highly recommended for Spacemacs/Mac users over comint
|
||||
aidermacs-program "/opt/homebrew/bin/ocaider")
|
||||
aidermacs-program "/opt/homebrew/bin/ocaider"
|
||||
aidermacs-extra-args '("--watch-files")
|
||||
)
|
||||
:config
|
||||
;; Optional: Spacemacs-style keybindings (Leader key)
|
||||
;; Mnemonic: SPC a (apps) i (intelligence/aider)
|
||||
@@ -1100,6 +1246,10 @@ This function is called at the very end of Spacemacs initialization."
|
||||
"a0ac98a1bde5d6336295fd350155a4aac1d63c53c1b3773062271074d16ebeb5"
|
||||
"bbb13492a15c3258f29c21d251da1e62f1abb8bbd492386a673dcfab474186af"
|
||||
"7fd8b914e340283c189980cd1883dbdef67080ad1a3a9cc3df864ca53bdc89cf" default))
|
||||
'(notmuch-saved-searches
|
||||
'((:name "To me Unread" :query "tag:me AND tag:unread" :key [109])
|
||||
(:name "📥 Inbox" :query "tag:inbox AND tag:unread" :key [105])))
|
||||
'(notmuch-search-oldest-first nil)
|
||||
'(package-selected-packages
|
||||
'(a ace-jump-helm-line ace-link afternoon-theme aggressive-indent aidermacs aio
|
||||
alect-themes alert all-the-icons ample-theme ample-zen-theme
|
||||
@@ -1131,24 +1281,25 @@ This function is called at the very end of Spacemacs initialization."
|
||||
google-translate gotham-theme grandshell-theme gruber-darker-theme
|
||||
gruvbox-theme haml-mode hc-zenburn-theme hcl-mode helm-ag
|
||||
helm-c-yasnippet helm-comint helm-company helm-css-scss helm-descbinds
|
||||
helm-git-grep helm-ls-git helm-lsp helm-make helm-mode-manager helm-org
|
||||
helm-org-rifle helm-projectile helm-purpose helm-pydoc helm-swoop
|
||||
helm-themes helm-xref hemisu-theme heroku-theme hide-comnt hierarchy
|
||||
highlight-indentation highlight-numbers highlight-parentheses hl-todo
|
||||
holy-mode htmlize hungry-delete hybrid-mode impatient-mode importmagic
|
||||
indent-guide info+ inkpot-theme insert-shebang inspector ir-black-theme
|
||||
jazz-theme jbeans-theme js-doc js2-mode js2-refactor json-mode
|
||||
json-navigator json-reformat json-snatcher kaolin-themes light-soap-theme
|
||||
link-hint live-py-mode livid-mode load-env-vars log4e lorem-ipsum
|
||||
lsp-docker lsp-mode lsp-origami lsp-pyright lsp-treemacs lsp-ui
|
||||
lush-theme macrostep madhat2r-theme magit magit-section markdown-mode
|
||||
markdown-toc material-theme minimal-theme modus-themes moe-theme
|
||||
molokai-theme monochrome-theme monokai-theme multi-line multi-term
|
||||
multi-vterm multiple-cursors mustang-theme nameless naquadah-theme
|
||||
nginx-mode noctilux-theme nodejs-repl nose npm-mode obsidian-theme
|
||||
occidental-theme oldlace-theme omtose-phellack-themes open-junk-file
|
||||
org-alert org-caldav org-category-capture org-cliplink org-contrib
|
||||
org-download org-jira org-mac-link org-mime org-pomodoro org-present
|
||||
helm-git-grep helm-ls-git helm-lsp helm-make helm-mode-manager
|
||||
helm-notmuch helm-org helm-org-rifle helm-projectile helm-purpose
|
||||
helm-pydoc helm-swoop helm-themes helm-xref hemisu-theme heroku-theme
|
||||
hide-comnt hierarchy highlight-indentation highlight-numbers
|
||||
highlight-parentheses hl-todo holy-mode htmlize hungry-delete hybrid-mode
|
||||
impatient-mode importmagic indent-guide info+ inkpot-theme insert-shebang
|
||||
inspector ir-black-theme jazz-theme jbeans-theme js-doc js2-mode
|
||||
js2-refactor json-mode json-navigator json-reformat json-snatcher
|
||||
kaolin-themes light-soap-theme link-hint live-py-mode livid-mode
|
||||
load-env-vars log4e lorem-ipsum lsp-docker lsp-mode lsp-origami
|
||||
lsp-pyright lsp-treemacs lsp-ui lush-theme macrostep madhat2r-theme magit
|
||||
magit-section markdown-mode markdown-toc material-theme minimal-theme
|
||||
modus-themes moe-theme molokai-theme monochrome-theme monokai-theme
|
||||
multi-line multi-term multi-vterm multiple-cursors mustang-theme nameless
|
||||
naquadah-theme nginx-mode noctilux-theme nodejs-repl nose notmuch
|
||||
npm-mode obsidian-theme occidental-theme ol-notmuch oldlace-theme
|
||||
omtose-phellack-themes open-junk-file org-alert org-caldav
|
||||
org-category-capture org-cliplink org-contrib org-download org-jira
|
||||
org-mac-link org-mime org-msg org-pomodoro org-present
|
||||
org-project-capture org-projectile org-rich-yank org-superstar
|
||||
organic-green-theme orgit orgit-forge origami overseer ox-jira ox-twbs
|
||||
pandoc-mode paradox password-generator pcre2el phoenix-dark-mono-theme
|
||||
|
||||
Reference in New Issue
Block a user