helix-mods/helix-term
Michael Davis b927985cd0
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.
2024-07-18 11:08:39 +09:00
..
src global_search: Save only the primary query to the history register (#11216) 2024-07-18 11:08:39 +09:00
tests refactor(commands): trim end of pipe-like output (#10952) 2024-07-13 10:44:48 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs Add icon to Windows executable (#9104) 2024-01-28 18:31:10 +09:00
Cargo.toml build(deps): bump the rust-dependencies group with 3 updates (#11194) 2024-07-16 12:28:41 +09:00