From 61dac51f7f69141abec4da51e806bcc066e1f1c7 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Tue, 31 Jan 2023 18:17:27 -0500 Subject: Add repeat-mode --- emacs/.config/emacs-kj/init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index 2bc4ae2..02bcd93 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -709,7 +709,8 @@ ("g" "Magit" magit-status) ] ["Buffers" - ("b" "Switch buffer" consult-buffer)] + ("b" "Switch buffer" consult-buffer) + ("k" "Kill buffer" kill-buffer)] ["Test" ("t" "run test" kj/test :transient t) ] @@ -734,3 +735,9 @@ :lighter " kj-keys") (kj/keys-minor-mode 1) + +;; Repeat commands (e.g., C-x o o o) +(use-package repeat-help + :ensure t ;; or :straight t + :hook (repeat-mode . repeat-help-mode)) +(repeat-mode 1) -- cgit v1.2.3