Compare commits

...

2 Commits

2 changed files with 4 additions and 3 deletions

View File

@@ -104,7 +104,7 @@
;; Seleccionar por regiones (similar a mark-sexp, pero toma en cuenta hacia atrás del cursor también)
(use-package expand-region
:functions treesit-buffer-root-node
:bind ("C-=" . er/expand-region)
:bind ("C-," . er/expand-region)
:config
(defun treesit-mark-bigger-node ()
"Use tree-sitter to mark regions."

View File

@@ -27,8 +27,9 @@
;; Cross-referencing commands
(use-package xref
:autoload xref-show-definitions-completing-read
:bind (("M-g ." . xref-find-definitions)
("M-g ," . xref-go-back))
:bind (("M-." . xref-find-definitions)
("M-," . xref-go-back)
("C-," . xref-find-references))
:init
;; Use faster search tool
(when (executable-find "rg")