From 15390e16372abc8bf324770019b4c06a7264e856 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 9 Mar 2023 16:42:33 -0500 Subject: updatez --- emacs/.config/emacs-kj/development.el | 2 ++ emacs/.config/emacs-kj/init.el | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) (limited to 'emacs') diff --git a/emacs/.config/emacs-kj/development.el b/emacs/.config/emacs-kj/development.el index 702dad8..891a3fc 100644 --- a/emacs/.config/emacs-kj/development.el +++ b/emacs/.config/emacs-kj/development.el @@ -2,6 +2,8 @@ (use-package eglot) +(add-hook 'prog-mode-hook 'subword-mode) + ;; Only used to get better eglot snippets. (use-package yasnippet :config diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index 3788b9d..e924419 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -688,15 +688,15 @@ :bind (("C-w" . backward-kill-word) ("C-c d" . kill-region) - ("C-c C-b C-r" . revert-buffer) - ("C-c C-r C-e" . consult-flymake) - ("C-c C-r C-f" . eglot-format) - ("C-c C-r C-g" . recompile) - ("C-c C-r C-a" . eglot-code-actions) - ("C-c C-r C-r" . eglot-rename) - ("C-c C-i C-c" . insert-char) - ("C-c C-b C-u" . winner-undo) - ("C-c C-b U" . winner-redo) + ("C-c b r" . revert-buffer) + ("C-c r l" . consult-flymake) + ("C-c r f" . eglot-format) + ("C-c r g" . recompile) + ("C-c r a" . eglot-code-actions) + ("C-c r r" . eglot-rename) + ("C-c c i" . insert-char) + ("C-c w u" . winner-undo) + ("C-c w U" . winner-redo) ("C-" . completion-at-point))) (let ((google-config-file -- cgit v1.2.3