aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap
diff options
context:
space:
mode:
authorlazytanuki2022-06-27 11:19:56 +0000
committerGitHub2022-06-27 11:19:56 +0000
commit096abdd19bb422cba607d43d05b195b37a7f95e9 (patch)
tree6c958977196fdad8d090d1962f862464d7e107eb /helix-term/src/keymap
parentfde9e034d4a7bd16d3c9780600874323e4e91628 (diff)
feat: highlight / select symbol under cursor using LSP textDocument/documentHighlight (#2738)
* feat: highlight symbol under cursor using LSP textDocument/documentHighlight * fix: please clippy * fix: shorter description and code style
Diffstat (limited to 'helix-term/src/keymap')
-rw-r--r--helix-term/src/keymap/default.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs
index c3695117..e5bb0482 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -259,6 +259,7 @@ pub fn default() -> HashMap<Mode, Keymap> {
"/" => global_search,
"k" => hover,
"r" => rename_symbol,
+ "h" => select_references_to_symbol_under_cursor,
"?" => command_palette,
},
"z" => { "View"