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
|
"ff" #'find-file
|
||||||
"fi" #'nemo/edit-init-org
|
"fi" #'nemo/edit-init-org
|
||||||
"fs" #'save-buffer
|
"fs" #'save-buffer
|
||||||
"fr" #'consult-ripgrep
|
|
||||||
"fR" (lambda () (interactive)
|
|
||||||
(let ((dir (read-directory-name "Ripgrep directory: ")))
|
|
||||||
(consult-ripgrep dir)))
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -1136,8 +1132,8 @@ Use =consult-xref= for =lsp-xref= and =xref-find-references=.
|
||||||
("C-x b" . consult-buffer)
|
("C-x b" . consult-buffer)
|
||||||
("M-g g" . consult-goto-line))
|
("M-g g" . consult-goto-line))
|
||||||
:init
|
:init
|
||||||
(setq xref-show-xrefs-function #'consult-xref
|
(setq xref-show-xrefs-function 'consult-xref
|
||||||
xref-show-definitions-function #'consult-xref)
|
xref-show-definitions-function 'consult-xref)
|
||||||
:config
|
:config
|
||||||
())
|
())
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -1427,30 +1423,6 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files:
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** copilot-chat.el
|
*** 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
|
*** COMMENT Ollama
|
||||||
I feel so bad for this.. but its not awful..
|
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"))
|
(add-to-list 'lsp-language-id-configuration '("CMakeLists.txt" . "cmake"))
|
||||||
)
|
)
|
||||||
|
|
||||||
;; (use-package consult-lsp
|
(use-package consult-lsp
|
||||||
;; :straight t
|
:straight t
|
||||||
;; :general
|
:general
|
||||||
;; (with-eval-after-load 'lsp-mode
|
(with-eval-after-load 'lsp-mode
|
||||||
;; (general-define-key
|
(general-define-key
|
||||||
;; :keymaps 'lsp-command-map
|
:keymaps 'lsp-command-map
|
||||||
;; "c s" '("Symbols" . consult-lsp-symbols)
|
"c s" '("Symbols" . consult-lsp-symbols)
|
||||||
;; "c f" '("Symbols" . consult-lsp-file-symbols)
|
"c f" '("Symbols" . consult-lsp-file-symbols)
|
||||||
;; "c d" '("Diagnostics" . consult-lsp-diagnostics)
|
"c d" '("Diagnostics" . consult-lsp-diagnostics)
|
||||||
;; )
|
)
|
||||||
;; )
|
)
|
||||||
;; )
|
)
|
||||||
|
|
||||||
(use-package lsp-treemacs
|
(use-package lsp-treemacs
|
||||||
:straight t
|
: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
|
#+end_src
|
||||||
|
|
||||||
** Graphics
|
** Graphics
|
||||||
|
glsl-mode:
|
||||||
*** 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:
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package glsl-mode
|
(use-package glsl-mode
|
||||||
:straight t
|
:straight t
|
||||||
|
|
Loading…
Reference in a new issue