From 7b589ab52633873b4b291e31dc20e7813866f7bf Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sun, 8 Sep 2024 21:37:06 +0200 Subject: [PATCH] search denote keybind --- emacs/init.el | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index f92f5f7..a46ffe1 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -142,9 +142,9 @@ (tool-bar-mode -1) (require 'server) (unless (server-running-p) (server-start)) - (setq tramp-persistency-file-name "~/.config/emacs/tramp") - (setq tramp-inline-compress-start-size 1000) - + (setq tramp-persistency-file-name "~/.config/emacs/tramp") + (setq tramp-inline-compress-start-size 1000) + (setq backup-by-copying t completion-cycle-threshold 3 create-lockfiles nil @@ -279,6 +279,7 @@ ("C-x n l f" . #'denote-find-link) ("C-x n b l" . #'denote-backlinks) ("C-x n b f" . #'denote-find-backlink) + ("C-x n /" . #'my/search-denote-notes) ("C-x n r r" . #'denote-rename-file) ("C-x n r f" . #'denote-rename-file-using-front-matter)) @@ -690,10 +691,10 @@ (setopt ellama-language "English") (require 'llm-ollama) (setopt ellama-provider - (make-llm-ollama - :chat-model "codellama:latest" - :embedding-model "nomic-embed-text" - :default-chat-non-standard-params '(("num_ctx" . 8192))))) + (make-llm-ollama + :chat-model "codellama:latest" + :embedding-model "nomic-embed-text" + :default-chat-non-standard-params '(("num_ctx" . 8192))))) (use-package lmtf :ensure t :defer t :straight (lmtf :type git :host github :repo "lneely/lmtf") @@ -725,7 +726,7 @@ (org-ai-global-mode) (org-ai-install-yasnippets) :config - (setq org-ai-service 'anthropic) + (setq org-ai-service 'anthropic) (setq org-ai-use-auth-source t) (setq org-ai-default-chat-model "claude-3-5-sonnet-20240620"))