diff options
author | Blaž Hrastnik | 2021-02-19 04:59:24 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-02-19 04:59:24 +0000 |
commit | 7a1ff5e45f829df17dfdcbd4923ae9e83fc2bf3f (patch) | |
tree | d550fd8913676f7be7165a7f0f5491be8b1037e5 /helix-term/src/keymap.rs | |
parent | 4ab5631d6521ffae6b31e9b9c72dd31a49e793ce (diff) |
commands: Wire up toggle comments as ctrl-c
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r-- | helix-term/src/keymap.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 932a6431..124456c9 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -198,6 +198,9 @@ pub fn default() -> Keymaps { code: KeyCode::Tab, modifiers: Modifiers::NONE }] => commands::next_view, + + // move under <space>c + vec![ctrl!('c')] => commands::toggle_comments, ), Mode::Insert => hashmap!( vec![Key { |