Reconfigure deft to ignore hidden files
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
This commit is contained in:
parent
b8ae75bd63
commit
f0d07952b4
4 changed files with 49 additions and 44 deletions
|
|
@ -100,10 +100,13 @@
|
|||
;; Enable Anthropic Claude LLM support for chat (it also sucks)
|
||||
(use-package gptel :straight t :ensure t)
|
||||
|
||||
(defcustom anthropic-api-key "api-key" "The value of your Anthropic API key."
|
||||
:type 'string
|
||||
:initialize 'custom-initialize-set)
|
||||
|
||||
(setq
|
||||
gptel-model "claude-3-sonnet-20240229"
|
||||
gptel-backend (gptel-make-anthropic "Claude"
|
||||
:stream t :key "Your key goes here"))
|
||||
gptel-model "claude-3-5-sonnet-20240620"
|
||||
gptel-backend (gptel-make-anthropic "Claude" :stream t :key (lambda () anthropic-api-key)))
|
||||
|
||||
(provide '+custom-pkg-company-yasnippet)
|
||||
;;; company-yasnippet.el ends here
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
:config (setq
|
||||
deft-directory (substitute-in-file-name "$DEFT_PATH")
|
||||
deft-default-extension "md"
|
||||
deft-ignore-file-regexp "^\\._[0-9-A-Z]+.md$"
|
||||
deft-strip-summary-regexp (concat "\\("
|
||||
"[\n\t]" ;; blank
|
||||
"\\|^:[[:ascii:]]+:.*$" ;; org-mode properties string
|
||||
|
|
|
|||
|
|
@ -47,7 +47,8 @@
|
|||
("a" "Align" align-regexp)]
|
||||
["Complete"
|
||||
("y" "Snippet" company-yasnippet)
|
||||
("m" "Any (Company)" company-complete)]
|
||||
("m" "Any (Company)" company-complete)
|
||||
("g" "Ask GPT" gptel-menu)]
|
||||
["Find"
|
||||
("s" "Swiper" swiper)
|
||||
("u" "Undo tree" undo-tree-visualize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue