diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-06-17 08:25:07 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-06-17 08:25:07 +0200 |
| commit | 8c3601dfeaa1236cbb7efb9ab2125dad3c1f2b23 (patch) | |
| tree | 8d06e76f90dc4bf9ecb06b0a42618ceccb0e3984 /reviews/emacs/hype.org | |
| parent | 58353eb91da404e130f3b8c8f4c4f70536a9ae53 (diff) | |
| download | memory-leaks-8c3601dfeaa1236cbb7efb9ab2125dad3c1f2b23.tar.xz | |
Highlight neat repeat-mode improvement
Diffstat (limited to 'reviews/emacs/hype.org')
| -rw-r--r-- | reviews/emacs/hype.org | 17 |
1 files changed, 17 insertions, 0 deletions
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~ 🫨 |
