summaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorLeoi Hung Kin2021-09-21 16:03:12 +0000
committerGitHub2021-09-21 16:03:12 +0000
commit9456d5c1a258e71bbb7e391dec8c3efb819e2d7d (patch)
tree11ecd447d52866168082d06701fc1cfb8612bea4 /book/src
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 'book/src')
-rw-r--r--book/src/keymap.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 16d2420d..5928a1ae 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -206,8 +206,10 @@ This layer is a kludge of mappings, mostly pickers.
| `y` | Join and yank selections to clipboard | `yank_joined_to_clipboard` |
| `Y` | Yank main selection to clipboard | `yank_main_selection_to_clipboard` |
| `R` | Replace selections by clipboard contents | `replace_selections_with_clipboard` |
+| `/` | Global search in workspace folder | `global_search` |
-
+> NOTE: Global search display results in a fuzzy picker, use `space + '` to bring it back up after opening a file.
+
#### Unimpaired
Mappings in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaired).