mirror of https://github.com/helix-editor/helix
global_search: Save only the primary query to the history register (#11216)
Two changes from the parent commit: * Save only the `Picker::primary_query` - so you don't save other parts of the query, for example `%path foo.rs` while in `global_search`. * Move the saving out of the `if let Some(option) = self.selection()` block. So when you hit enter you save to history whether you have a selection or not. If you want to close the picker without saving to the register you can use C-c or Esc instead.pull/9963/head^2
parent
c9d829a26d
commit
b927985cd0
Loading…
Reference in New Issue