update: email and notmuch
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
(ring-bell-function 'ignore)
|
||||
(split-width-threshold 300)
|
||||
(switch-to-buffer-obey-display-actions t)
|
||||
(tab-width 4)
|
||||
(indent-tabs-mode nil)
|
||||
(treesit-font-lock-level 4)
|
||||
(truncate-lines t)
|
||||
(use-dialog-box nil)
|
||||
@@ -546,35 +546,30 @@
|
||||
:config
|
||||
(global-diff-hl-mode))
|
||||
|
||||
;; LSP Mode
|
||||
;; (use-package lsp-mode
|
||||
;; :ensure t
|
||||
;; :init
|
||||
;; (setq lsp-keymap-prefix "C-c l")
|
||||
;; (defun my/lsp-mode-setup-completion ()
|
||||
;; (setf (alist-get 'styles (alist-get 'lsp-capf completion-category-defaults))
|
||||
;; '(orderless)))
|
||||
;; :hook ((typescript-ts-mode . lsp)
|
||||
;; (tsx-ts-mode . lsp)
|
||||
;; (js-ts-mode . lsp)
|
||||
;; ;; if you want which-key integration
|
||||
;; (lsp-mode . lsp-enable-which-key-integration)
|
||||
;; (lsp-completion-mode . my/lsp-mode-setup-completion))
|
||||
;; :commands lsp
|
||||
;; :config
|
||||
;; (setq lsp-eslint-server-command '("vscode-eslint-language-server" "--stdio"))
|
||||
;; (lsp-register-client
|
||||
;; (make-lsp-client
|
||||
;; :new-connection (lsp-stdio-connection '("tailwindcss-language-server" "--stdio"))
|
||||
;; :activation-fn (lsp-activate-on "typescriptreact" "typescript" "css" "html")
|
||||
;; :add-on? t
|
||||
;; :notification-handlers (ht ("@/tailwindCSS/projectInitialized" #'ignore)
|
||||
;; ("@/tailwindCSS/projectsDestroyed" #'ignore)))))
|
||||
;; EMAIL -----------
|
||||
(use-package notmuch
|
||||
:ensure t
|
||||
:bind (("C-c m" . notmuch-hello))
|
||||
:custom
|
||||
(notmuch-search-oldest-first nil)
|
||||
(notmuch-saved-searches
|
||||
'((:name "inbox" :query "tag:inbox")
|
||||
(:name "unread" :query "tag:unread")
|
||||
(:name "sent" :query "tag:sent")
|
||||
(:name "drafts" :query "tag:draft")))
|
||||
:config
|
||||
(setq sendmail-program "msmtp")
|
||||
(setq notmuch-fcc-dirs nil))
|
||||
|
||||
;; (use-package lsp-ui
|
||||
;; :ensure t
|
||||
;; :commands lsp-ui-mode
|
||||
;; :config
|
||||
;; (setq lsp-ui-sideline-enable nil))
|
||||
(use-package ol-notmuch
|
||||
:ensure t
|
||||
:bind
|
||||
("C-c l" . org-store-link))
|
||||
|
||||
;; EPUBS ----------
|
||||
(use-package nov
|
||||
:ensure t
|
||||
:config
|
||||
((add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))))
|
||||
|
||||
(provide 'init)
|
||||
|
||||
Reference in New Issue
Block a user