update
This commit is contained in:
parent
ff9f1d545e
commit
9317418e88
@ -13,7 +13,7 @@
|
|||||||
typescript-language-server
|
typescript-language-server
|
||||||
typescript
|
typescript
|
||||||
nodejs
|
nodejs
|
||||||
mathpix-snipping-tool
|
# mathpix-snipping-tool
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
|
@ -123,6 +123,7 @@
|
|||||||
|
|
||||||
(start/leader-keys
|
(start/leader-keys
|
||||||
"o" '(:ignore t :wk "Org")
|
"o" '(:ignore t :wk "Org")
|
||||||
|
"o c" '(org-capture :wk "Capture note")
|
||||||
"o e" '(find-file "~/RoamNotes/everything.org" :wk "Open notes")))
|
"o e" '(find-file "~/RoamNotes/everything.org" :wk "Open notes")))
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
@ -230,12 +231,12 @@
|
|||||||
:config
|
:config
|
||||||
(add-to-list 'eglot-server-programs
|
(add-to-list 'eglot-server-programs
|
||||||
`(vue-mode . ("vue-language-server" "--stdio" :initializationOptions
|
`(vue-mode . ("vue-language-server" "--stdio" :initializationOptions
|
||||||
(:typescript (:tsdk "/Users/mthomson/dev/work/westjet/profile-app-spa/node_modules/typescript/lib")
|
(:typescript (:tsdk "/Users/mthomson/dev/work/westjet/profile-app-spa/node_modules/typescript/lib")
|
||||||
:vue (:hybridMode :json-false)))))
|
:vue (:hybridMode :json-false)))))
|
||||||
(add-to-list 'eglot-server-programs
|
(add-to-list 'eglot-server-programs
|
||||||
`(typescript-ts-mode . ("vue-language-server" "--stdio" :initializationOptions
|
`(typescript-ts-mode . ("vue-language-server" "--stdio" :initializationOptions
|
||||||
(:typescript (:tsdk "/Users/mthomson/dev/work/westjet/profile-app-spa/node_modules/typescript/lib")
|
(:typescript (:tsdk "/Users/mthomson/dev/work/westjet/profile-app-spa/node_modules/typescript/lib")
|
||||||
:vue (:hybridMode :json-false)))))
|
:vue (:hybridMode :json-false)))))
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package eldoc-box
|
(use-package eldoc-box
|
||||||
@ -292,29 +293,41 @@
|
|||||||
(add-to-list 'auto-mode-alist '("\\.vue\\'" . vue-mode))
|
(add-to-list 'auto-mode-alist '("\\.vue\\'" . vue-mode))
|
||||||
|
|
||||||
(use-package nix-mode
|
(use-package nix-mode
|
||||||
:mode "\\.nix\\'")
|
:mode "\\.nix\\'")
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:custom
|
:custom
|
||||||
(org-edit-src-content-indentation 4) ;; Set src block automatic indent to 4 instead of 2.
|
(org-edit-src-content-indentation 4) ;; Set src block automatic indent to 4 instead of 2.
|
||||||
(org-todo-keywords '((sequence "TODO(t!)" "IN-PROGRESS(p)" "CODE-REVIEW(r)" "BLOCKED(b)" "|" "DONE(d!)" "CANCELED(c!)")))
|
(org-todo-keywords '((sequence "TODO(t!)" "IN-PROGRESS(p!)" "CODE-REVIEW(r@/!)" "BLOCKED(b@/!)" "|" "DONE(d!)" "CANCELED(c@/!)")))
|
||||||
(org-todo-keyword-faces
|
(org-todo-keyword-faces
|
||||||
'(("IN-PROGRESS" . "yellow") ("BLOCKED" . "magenta") ("CODE-REVIEW" . "blue") ("CANCELED" . "grey") ("DONE" . "green")))
|
'(("IN-PROGRESS" . "yellow") ("BLOCKED" . "magenta") ("CODE-REVIEW" . "blue") ("CANCELED" . "grey") ("DONE" . "green")))
|
||||||
(org-treat-insert-todo-heading-as-state-change t)
|
(org-treat-insert-todo-heading-as-state-change t)
|
||||||
(org-log-into-drawer t)
|
(org-log-into-drawer t)
|
||||||
:config
|
(org-directory "~/RoamNotes")
|
||||||
(add-to-list 'org-modules 'org-habit t)
|
|
||||||
(add-to-list 'org-agenda-files "~/RoamNotes/everything.org")
|
;; capture config
|
||||||
:hook
|
(org-capture-templates
|
||||||
(org-mode . org-indent-mode) ;; Indent text
|
`(("i" "Inbox" entry (file "inbox.org")
|
||||||
;; The following prevents <> from auto-pairing when electric-pair-mode is on.
|
,(concat "* TODO %?\n"
|
||||||
;; Otherwise, org-tempo is broken when you try to <s TAB...
|
"/Entered on/ %U"))
|
||||||
(org-mode . (lambda ()
|
("@" "Inbox [mu4e]" entry (file "inbox.org")
|
||||||
(setq-local electric-pair-inhibit-predicate
|
,(concat "* TODO Process \"%a\" %?\n"
|
||||||
`(lambda (c)
|
"/Entered on/ %U"))))
|
||||||
(if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
|
||||||
)
|
;; agenda config
|
||||||
|
(org-agenda-files (list "everything.org" "inbox.org" "agenda.org" "notes.org"))
|
||||||
|
:config
|
||||||
|
(add-to-list 'org-modules 'org-habit t)
|
||||||
|
:hook
|
||||||
|
(org-mode . org-indent-mode) ;; Indent text
|
||||||
|
;; The following prevents <> from auto-pairing when electric-pair-mode is on.
|
||||||
|
;; Otherwise, org-tempo is broken when you try to <s TAB...
|
||||||
|
(org-mode . (lambda ()
|
||||||
|
(setq-local electric-pair-inhibit-predicate
|
||||||
|
`(lambda (c)
|
||||||
|
(if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
||||||
|
)
|
||||||
|
|
||||||
(use-package toc-org
|
(use-package toc-org
|
||||||
:commands toc-org-enable
|
:commands toc-org-enable
|
||||||
@ -356,6 +369,7 @@
|
|||||||
(setq mu4e-get-mail-command (concat (executable-find "mbsync") " -a"))
|
(setq mu4e-get-mail-command (concat (executable-find "mbsync") " -a"))
|
||||||
(setq mu4e--get-mail-password-regexp "^Master Password: $")
|
(setq mu4e--get-mail-password-regexp "^Master Password: $")
|
||||||
(setq mu4e-update-interval 300)
|
(setq mu4e-update-interval 300)
|
||||||
|
(setq mu4e-change-filenames-when-moving t)
|
||||||
|
|
||||||
;; msmtp
|
;; msmtp
|
||||||
(setq send-mail-function 'sendmail-send-it)
|
(setq send-mail-function 'sendmail-send-it)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user