From 8c3601dfeaa1236cbb7efb9ab2125dad3c1f2b23 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 17 Jun 2025 08:25:07 +0200 Subject: Highlight neat repeat-mode improvement --- reviews/emacs/hype.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'reviews/emacs/hype.org') diff --git a/reviews/emacs/hype.org b/reviews/emacs/hype.org index 18569aa..8fef41b 100644 --- a/reviews/emacs/hype.org +++ b/reviews/emacs/hype.org @@ -63,6 +63,23 @@ Now: **** ~cursor-indicators-mode~ (bug#77224) Change cursor style depending on arbitrary predicates. Might finally stop me from activating repeat maps by accident. +*** Input +**** =repeat-continue= +Users can tell ~repeat-mode~ that some commands should not interrupt +repeat maps: + +#+begin_src elisp +;; Allow C-l in the middle of a repeating sequence. Useful when +;; e.g. `next-error' shows point at the bottom of the window, and +;; recentering to the top will show more context that will let me +;; decide whether to keep searching or not. +(put 'recenter-top-bottom 'repeat-continue t) +#+end_src + +Other ways to set the property: + +- ~use-package~'s =:continue-only= keyword; +- ~defvar-keymap~'s =:continue= keyword. *** Windows **** New window layout commands (=window-x.el=) Looking forward to ~flip~ and ~rotate~ and ~transpose~ 🫨 -- cgit v1.2.3