Skip to content

Enable toggle_auto_trigger as insert mode keymap via config - #631

Merged
AntoineGS merged 4 commits into
zbirenbaum:masterfrom
tjex:master
Jan 10, 2026
Merged

Enable toggle_auto_trigger as insert mode keymap via config#631
AntoineGS merged 4 commits into
zbirenbaum:masterfrom
tjex:master

Conversation

@tjex

@tjex tjex commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Allows toggle_auto_trigger to be set via suggestion.keymap.

Motivation: Almost always I want to toggle auto_trigger on/off while I'm typing (as that's when it gets in the way). Probably others too? :)

Manually clear latent ghost text from existing suggestions when toggling on -> off. Necessary to beat debounce timer, which is running when still in insert mode.

Updated readme and config snippet (including fix of debouce time value that represents the actual default value in source code).

@AntoineGS

Copy link
Copy Markdown
Collaborator

Just some linting to fix and then I'll merge this!

@tjex

tjex commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

woopsy.. @AntoineGS Should be good now!

@AntoineGS
AntoineGS merged commit 1eb6f51 into zbirenbaum:master Jan 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants