dots

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit ad163cf0b7742bf42984e48426fc84a72dad6e11
parent 0364ad759517371856c9e7c6159a540453c4b98b
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date:   Sun,  3 May 2026 02:35:32 -0300

Some project.el improvements.

Diffstat:
Memacs/config.org | 42+++++++++++++++++++++++++++++++-----------
1 file changed, 31 insertions(+), 11 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -292,6 +292,7 @@ Ripgrep is fast. Also, the package automatically configures ~wgrep~ for us and o #+BEGIN_SRC emacs-lisp (use-package rg + :bind (("C-c /" . rg)) :init (rg-enable-default-bindings)) #+END_SRC @@ -311,17 +312,10 @@ Snippet system. Project configurations. #+BEGIN_SRC emacs-lisp -(setq org-confirm-babel-evaluate nil) -(use-package ob-compile) -(use-package project-tasks - :after ob-compile - :commands (project-tasks) - :init - (add-to-list 'project-switch-commands '(project-tasks "tasks") t) - :custom (project-tasks-files '("tasks.org")) - :config - (add-to-list 'marginalia-prompt-categories '("select task" . project-task)) - :bind (("C-c c" . project-tasks))) +(use-package project + :ensure nil + :bind (("C-c c" . project-compile) + ("C-c r" . project-async-shell-command))) #+END_SRC ** Utilities @@ -443,6 +437,17 @@ For reading, I use ~mu4e~. The messages are fetched via ~mbsync~. Both need to b (add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime)) #+END_SRC +*** GPTel +LLM client. + +#+BEGIN_SRC emacs-lisp +(use-package gptel + :init + (setq gptel-default-mode #'org-mode) + (setq gptel-model 'gpt-5-mini) + (setq gptel-backend (gptel-make-gh-copilot "Copilot"))) +#+END_SRC + *** Miscelaneous Lice to add licenses. @@ -456,6 +461,15 @@ Better support for PDF files. (use-package pdf-tools) #+END_SRC +Better separation of shell commands. + +#+BEGIN_SRC emacs-lisp +(use-package shell-command-x + :diminish shell-command-x + :init + (shell-command-x-mode 1)) +#+END_SRC + ** Language specific configuration *** Go Basic support. @@ -550,6 +564,12 @@ Snippets. (use-package elixir-yasnippets) #+END_SRC +Inferior mode. + +#+BEGIN_SRC emacs-lisp +(use-package inf-elixir) +#+END_SRC + *** Haskell #+BEGIN_SRC emacs-lisp (use-package haskell-mode