Skip to content

Commit d6c340b

Browse files
committed
transient: delay
1 parent 706e400 commit d6c340b

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

content/en/usage/transient.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,21 @@ all available keybindings for the current mode(s):
3535
```
3636

3737
<div style="text-align: center;"> <img src="https://raw.githubusercontent.com/lem-project/lem/main/extensions/transient/transient-dashboard.png"/> </div>
38+
39+
## Configuration
40+
41+
### Delay
42+
43+
Add a configurable delay before the transient popup appears. The popup
44+
waits 500ms by default before showing — if the user completes the key
45+
sequence before the timer fires, the popup never appears, avoiding
46+
flicker for fast typists. Once the popup is already visible
47+
(e.g. navigating sub-menus), subsequent keymaps show immediately.
48+
49+
```lisp
50+
;; Adjust delay (default 500ms)
51+
(setf lem/transient:*transient-popup-delay* 300)
52+
53+
;; Disable delay (show immediately)
54+
(setf lem/transient:*transient-popup-delay* 0)
55+
```

0 commit comments

Comments
 (0)