summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-10-10 07:23:58 -0400
committerKjetil Orbekk <kj@orbekk.com>2022-10-10 07:23:58 -0400
commitbfb3f84663d93d665b52fd43996dc67788319d13 (patch)
treee91fc3abd5997bdbd9bc6cc375630cb26d93897d /emacs
parent7f283e67d84d0883a72372ebc6234074eb9780dd (diff)
Update cofig
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.config/emacs-kj/development.el1
-rw-r--r--emacs/.config/emacs-kj/init.el8
2 files changed, 7 insertions, 2 deletions
diff --git a/emacs/.config/emacs-kj/development.el b/emacs/.config/emacs-kj/development.el
index 43e0c5d..81a94c9 100644
--- a/emacs/.config/emacs-kj/development.el
+++ b/emacs/.config/emacs-kj/development.el
@@ -2,6 +2,7 @@
(use-package rustic
:after eglot
+ :bind (("C-c C-r C-s" . rustic-popup))
:config
(setq
;; eglot seems to be the best option right now.
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 6890f62..e079a39 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -25,8 +25,9 @@
(use-package straight
:custom (straight-use-package-by-default t))
-(set-frame-font "Iosevka-18")
-
+(let ((my-font "Iosevka-18"))
+ (set-face-attribute 'default t :font my-font)
+ (set-frame-font my-font))
(set-default-coding-systems 'utf-8)
;; Backup file settings.
@@ -563,6 +564,9 @@
(use-package emacs
:bind
(("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-a" . eglot-code-actions)
("C-<tab>" . completion-at-point)))
(let ((google-config-file