aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-02-22 06:14:02 +0000
committerBlaž Hrastnik2021-02-22 06:14:02 +0000
commit33c67f138835d4407e076ebcf2d29322fda44114 (patch)
tree0bffdeab32e8b6be019d5ee9974e6654fefb296e /helix-term/src/keymap.rs
parent61ce2c9cfe07f1cb0b6a6bfd7136b63d667b6795 (diff)
commands: add * as selection search.
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 124456c9..69c8e48c 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -170,6 +170,7 @@ pub fn default() -> Keymaps {
vec![key!('x')] => commands::select_line,
vec![key!('/')] => commands::search,
vec![key!('n')] => commands::search_next,
+ vec![key!('*')] => commands::search_selection,
vec![key!('u')] => commands::undo,
vec![shift!('U')] => commands::redo,
vec![key!('y')] => commands::yank,