summaryrefslogtreecommitdiff
path: root/emacs/.config
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.config')
-rw-r--r--emacs/.config/emacs-kj/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 97bc421..b1a1caa 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -93,6 +93,8 @@
(setq avy-keys '(?a ?o ?e ?u ?i ?d ?h ?t ?n ?s))
)
+(winner-mode +1)
+
(use-package ace-window
:bind
(("C-c e" . ace-window))
@@ -171,6 +173,9 @@
(run-at-time nil (* 5 60) 'recentf-save-list)
(setq recentf-max-saved-items 1000)
+(setq global-mark-ring-max 500
+ mark-ring-max 16)
+
;; Example configuration for Consult
(use-package consult
;; Replace bindings. Lazily loaded due by `use-package'.
@@ -595,6 +600,8 @@
("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-<tab>" . completion-at-point)))
(let ((google-config-file