Compare commits

..

No commits in common. "d3e63dba9330df818f08af30ae6ba3852a8f1fbe" and "e8eeefdb63058faa3a85caae522fe0ec7326a229" have entirely different histories.

3 changed files with 7 additions and 12 deletions

View File

@ -2255,7 +2255,6 @@ These help speed eglot up apparently [[https://www.reddit.com/r/emacs/comments/1
(setq lsp-modeline-diagnostics-enable nil) (setq lsp-modeline-diagnostics-enable nil)
(setq lsp-modeline-code-actions-enable nil) (setq lsp-modeline-code-actions-enable nil)
(setq lsp-lens-enable nil) (setq lsp-lens-enable nil)
(setq lsp-signature-auto-activate nil)
(setq lsp-eldoc-enable-hover nil) (setq lsp-eldoc-enable-hover nil)
(setq eldoc-echo-area-use-multiline-p 'truncate-sym-name-if-fit) (setq eldoc-echo-area-use-multiline-p 'truncate-sym-name-if-fit)
(setq eldoc-idle-delay 0) (setq eldoc-idle-delay 0)
@ -2375,8 +2374,13 @@ These help speed eglot up apparently [[https://www.reddit.com/r/emacs/comments/1
** AI ** AI
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq gptel-default-mode #'org-mode) (setq gptel-default-mode #'org-mode)
(setq gptel-model "claude-3-opus")
(setq gptel-api-key (with-temp-buffer
(insert-file-contents (expand-file-name "gptel-key" user-emacs-directory))
(buffer-string)))
;; OPTIONAL configuration
(setq (setq
gptel-model 'claude-3-sonnet-20240229 gptel-model 'claude-3-sonnet-20240229 ; "claude-3-opus-20240229" also available
gptel-backend (gptel-make-anthropic "Claude" gptel-backend (gptel-make-anthropic "Claude"
:stream t :key (with-temp-buffer :stream t :key (with-temp-buffer
(insert-file-contents (expand-file-name "gptel-key" user-emacs-directory)) (insert-file-contents (expand-file-name "gptel-key" user-emacs-directory))
@ -3009,7 +3013,6 @@ Org mode buffers have associated files.
(add-to-list 'org-structure-template-alist '("py" . "src python")) (add-to-list 'org-structure-template-alist '("py" . "src python"))
(add-to-list 'org-structure-template-alist '("hs" . "src haskell")) (add-to-list 'org-structure-template-alist '("hs" . "src haskell"))
(add-to-list 'org-structure-template-alist '("sh" . "src shell")) (add-to-list 'org-structure-template-alist '("sh" . "src shell"))
(add-to-list 'org-structure-template-alist '("cs" . "src csharp"))
(add-to-list 'org-structure-template-alist '("cc" . "src C :includes stdio.h stdlib.h")) (add-to-list 'org-structure-template-alist '("cc" . "src C :includes stdio.h stdlib.h"))
(setq org-edit-src-content-indentation 0) (setq org-edit-src-content-indentation 0)
(setq org-src-window-setup 'current-window) (setq org-src-window-setup 'current-window)

View File

@ -16,8 +16,3 @@
cmd = kitty +kitten diff $LOCAL $REMOTE cmd = kitty +kitten diff $LOCAL $REMOTE
[difftool "kitty.gui"] [difftool "kitty.gui"]
cmd = kitty kitty +kitten diff $LOCAL $REMOTE cmd = kitty kitty +kitten diff $LOCAL $REMOTE
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true

View File

@ -314,10 +314,7 @@ for i in groups:
layouts = [ layouts = [
layout.Max(), layout.Max(),
layout.Columns( layout.Columns(border_focus_stack=["#d75f5f", "#8f3d3d"], border_width=4),
border_focus=["#999999"],
border_width=1
),
# Try more layouts by unleashing below layouts. # Try more layouts by unleashing below layouts.
# layout.Stack(num_stacks=2), # layout.Stack(num_stacks=2),
# layout.Bsp(), # layout.Bsp(),