Updated kakoune and emacs

This commit is contained in:
Michael Chalupiak
2026-07-25 13:38:59 -06:00
parent 7cd118b1a1
commit 3aa286c2bf
4 changed files with 224 additions and 257 deletions

View File

@@ -6,6 +6,7 @@
(global-set-key (kbd "C-c x") #'kill-current-buffer)
(global-set-key (kbd "C-c X") (lambda () (interactive) (other-window 1) (kill-buffer-and-window)))
(global-set-key (kbd "C-c g") #'consult-ripgrep)
(global-set-key (kbd "C-c C-g") (lambda () (interactive) (let ((current-prefix-arg '(4))) (call-interactively #'consult-ripgrep))))
(global-set-key (kbd "C-c L") #'consult-line)
(global-set-key (kbd "C-c i") #'consult-info)
(global-set-key (kbd "C-c s") #'ispell-word)

View File

@@ -24,6 +24,30 @@
:defer t
:bind-keymap ("M-'" . surround-keymap))
(use-package noccur
:ensure t)
(use-package dumb-jump
:ensure t
:config
(add-hook 'xref-backend-functions #'dumb-jump-xref-activate))
(use-package expand-region
:ensure t
:bind (("C-= =" . er/expand-region)
("C-= w" . er/mark-word)
("C-= s" . er/mark-symbol)
("C-= S" . er/mark-symbol-with-prefix)
("C-= f" . er/mark-defun)
("C-= c" . er/mark-comment)
("C-= m" . er/mark-method-call)
("C-= a" . er/mark-next-accessor)
("C-= p" . er/mark-inside-pairs)
("C-= P" . er/mark-outside-pairs)
("C-= '" . er/mark-inside-quotes)
("C-= \"" . er/mark-outside-quotes)))
(use-package dirvish
:ensure t
:defer t