summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorLeoi Hung Kin2021-09-21 16:03:12 +0000
committerGitHub2021-09-21 16:03:12 +0000
commit9456d5c1a258e71bbb7e391dec8c3efb819e2d7d (patch)
tree11ecd447d52866168082d06701fc1cfb8612bea4 /helix-term/src/keymap.rs
parenta512f48e4574f7465dceecb89c4dbbfa9e21ff6f (diff)
Initial implementation of global search (#651)
* initial implementation of global search * use tokio::sync::mpsc::unbounded_channel instead of Arc, Mutex, Waker poll_fn * use tokio_stream::wrappers::UnboundedReceiverStream to collect all search matches * regex_prompt: unified callback; refactor * global search doc
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index f38c8a40..f9bfcc50 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -555,6 +555,7 @@ impl Default for Keymaps {
"P" => paste_clipboard_before,
"R" => replace_selections_with_clipboard,
"space" => keep_primary_selection,
+ "/" => global_search,
},
"z" => { "View"
"z" | "c" => align_view_center,