mirror of https://github.com/helix-editor/helix
global_search: Save search when accepting an option (#11209)
The Prompt is set up to push the current line to history when hitting Enter but the Picker doesn't pass the Enter event down to the Prompt (for good reason: we don't want the Prompt's behavior of changing completions when we hit a path separator). We should save the Prompt's line to its configured history register when hitting Enter when there is a selection in the Picker. This currently only applies to `global_search`'s Picker since it's the only Picker to use `Picker::with_history_register`.pull/11211/head
parent
bd5e893149
commit
c9d829a26d
Loading…
Reference in New Issue