summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap/default.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/keymap/default.rs')
-rw-r--r--helix-term/src/keymap/default.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs
index 92d6b590..bab662b0 100644
--- a/helix-term/src/keymap/default.rs
+++ b/helix-term/src/keymap/default.rs
@@ -276,6 +276,9 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"k" => hover,
"r" => rename_symbol,
"h" => select_references_to_symbol_under_cursor,
+ "c" => toggle_comments,
+ "C" => toggle_block_comments,
+ "A-c" => toggle_line_comments,
"?" => command_palette,
},
"z" => { "View"