Compare commits
No commits in common. "1bdb5ed1565bebe58700f8207ccb7c6de2f7d212" and "41f5c3340a0232ea1c0e0bb44b0609b2956c3fe9" have entirely different histories.
1bdb5ed156
...
41f5c3340a
75
init.org
75
init.org
|
@ -525,10 +525,6 @@ Honestly not very happy with this at the moment, but it's kind of hacked togethe
|
|||
"ff" #'find-file
|
||||
"fi" #'nemo/edit-init-org
|
||||
"fs" #'save-buffer
|
||||
"fr" #'consult-ripgrep
|
||||
"fR" (lambda () (interactive)
|
||||
(let ((dir (read-directory-name "Ripgrep directory: ")))
|
||||
(consult-ripgrep dir)))
|
||||
)
|
||||
)
|
||||
#+end_src
|
||||
|
@ -1136,8 +1132,8 @@ Use =consult-xref= for =lsp-xref= and =xref-find-references=.
|
|||
("C-x b" . consult-buffer)
|
||||
("M-g g" . consult-goto-line))
|
||||
:init
|
||||
(setq xref-show-xrefs-function #'consult-xref
|
||||
xref-show-definitions-function #'consult-xref)
|
||||
(setq xref-show-xrefs-function 'consult-xref
|
||||
xref-show-definitions-function 'consult-xref)
|
||||
:config
|
||||
())
|
||||
#+end_src
|
||||
|
@ -1427,30 +1423,6 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files:
|
|||
#+end_src
|
||||
|
||||
*** copilot-chat.el
|
||||
#+begin_src emacs-lisp
|
||||
(use-package copilot-chat
|
||||
:straight (:host github :repo "chep/copilot-chat.el" :files ("*.el"))
|
||||
:after (org markdown-mode)
|
||||
:general
|
||||
(leader-def
|
||||
"cg" #'copilot-chat-insert-commit-message
|
||||
"cG" #'copilot-chat-regenerate-commit-message
|
||||
"cC" #'copilot-chat-display
|
||||
"cba" #'copilot-chat-add-current-buffer
|
||||
"cbd" #'copilot-chat-del-current-buffer
|
||||
"cbw" #'copilot-chat-add-workspace
|
||||
"cbf" #'copilot-chat-add-file
|
||||
"cbb" #'copilot-chat-list
|
||||
"cch" #'copilot-chat-hide
|
||||
"ccx" #'copilot-chat-reset
|
||||
"ccb" #'copilot-chat-switch-to-buffer
|
||||
"ccd" #'copilot-chat-doc
|
||||
"ccr" #'copilot-chat-review
|
||||
"ccm" #'copilot-chat-set-model
|
||||
"cy" #'copilot-chat-yank
|
||||
)
|
||||
)
|
||||
#+end_src
|
||||
|
||||
*** COMMENT Ollama
|
||||
I feel so bad for this.. but its not awful..
|
||||
|
@ -1625,18 +1597,18 @@ LSP sets it's prefix key to =s-l= by default, which uses the Super key which I u
|
|||
(add-to-list 'lsp-language-id-configuration '("CMakeLists.txt" . "cmake"))
|
||||
)
|
||||
|
||||
;; (use-package consult-lsp
|
||||
;; :straight t
|
||||
;; :general
|
||||
;; (with-eval-after-load 'lsp-mode
|
||||
;; (general-define-key
|
||||
;; :keymaps 'lsp-command-map
|
||||
;; "c s" '("Symbols" . consult-lsp-symbols)
|
||||
;; "c f" '("Symbols" . consult-lsp-file-symbols)
|
||||
;; "c d" '("Diagnostics" . consult-lsp-diagnostics)
|
||||
;; )
|
||||
;; )
|
||||
;; )
|
||||
(use-package consult-lsp
|
||||
:straight t
|
||||
:general
|
||||
(with-eval-after-load 'lsp-mode
|
||||
(general-define-key
|
||||
:keymaps 'lsp-command-map
|
||||
"c s" '("Symbols" . consult-lsp-symbols)
|
||||
"c f" '("Symbols" . consult-lsp-file-symbols)
|
||||
"c d" '("Diagnostics" . consult-lsp-diagnostics)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(use-package lsp-treemacs
|
||||
:straight t
|
||||
|
@ -1674,24 +1646,7 @@ LSP sets it's prefix key to =s-l= by default, which uses the Super key which I u
|
|||
#+end_src
|
||||
|
||||
** Graphics
|
||||
|
||||
*** WGSL/WESL
|
||||
#+begin_src emacs-lisp
|
||||
(use-package wgsl-mode
|
||||
:straight t
|
||||
:ensure lsp-mode
|
||||
:mode "\\.wesl\\'"
|
||||
:hook (wgsl-mode . lsp-deferred)
|
||||
:init
|
||||
(add-to-list 'lsp-language-id-configuration '(wgsl-mode . "wgsl"))
|
||||
(lsp-register-client (make-lsp-client
|
||||
:new-connection (lsp-stdio-connection "wgsl-analyzer")
|
||||
:activation-fn (lsp-activate-on "wgsl")
|
||||
:server-id 'wgsl-analyzer))
|
||||
)
|
||||
#+end_src
|
||||
|
||||
*** glsl-mode:
|
||||
glsl-mode:
|
||||
#+begin_src emacs-lisp
|
||||
(use-package glsl-mode
|
||||
:straight t
|
||||
|
|
Loading…
Reference in a new issue