summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 6ef53915..27ef9b9e 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -85,6 +85,10 @@ use std::collections::HashMap;
//
// gd = goto definition
// gr = goto reference
+// [d = previous diagnostic
+// d] = next diagnostic
+// [D = first diagnostic
+// D] = last diagnostic
// }
// #[cfg(feature = "term")]
@@ -209,7 +213,9 @@ pub fn default() -> Keymaps {
// repeat_select
// TODO: figure out what key to use
- key!('[') => commands::expand_selection,
+ // key!('[') => commands::expand_selection, ??
+ key!('[') => commands::left_bracket_mode,
+ key!(']') => commands::right_bracket_mode,
key!('/') => commands::search,
// ? for search_reverse