dots

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

commit 1e345915fb48ff13c549d66cb2b7b6825b33685e
parent 99637787c875b10f5397bab114eeadaba6ffb40a
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date:   Tue,  6 Oct 2026 09:45:24 -0300

Better binds.

Diffstat:
Memacs/config.org | 15++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -278,7 +278,8 @@ So the editor is a little less dumb. #+BEGIN_SRC emacs-lisp (use-package dumb-jump :custom (dumb-jump-prefer-searcher 'rg) - :bind ("C-c 2" . xref-find-references-and-replace) + :bind (("<f2>" . xref-find-references-and-replace) + ("<f1>" . xref-find-references)) :hook (prog-mode . (lambda () (add-to-list 'xref-backend-functions @@ -290,19 +291,15 @@ Ripgrep is fast. Also, the package automatically configures ~wgrep~ for us and o #+BEGIN_SRC emacs-lisp (use-package rg - :bind (("C-c /" . rg)) + :bind (("<f7>" . rg)) :config (rg-enable-default-bindings)) #+END_SRC -*** Project -Project configurations. - +*** Bindings #+BEGIN_SRC emacs-lisp -(use-package project - :ensure nil - :bind (("C-c c" . project-compile) - ("C-c r" . project-async-shell-command))) +(global-set-key (kbd "<f5>") #'compile) +(global-set-key (kbd "<f6>") #'async-shell-command) #+END_SRC ** Utilities