diff options
author | Blaž Hrastnik | 2020-09-28 16:01:27 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-09-28 16:01:27 +0000 |
commit | 36e7e2133fe1d472600cfd935b8046b8d50146c2 (patch) | |
tree | 887eb91b778bce0ec4a07d3a3c41cb53376579fb /helix-view/src/keymap.rs | |
parent | 3020077da8efbf914a9cb0a2cbb50362d339a39a (diff) |
Split selection on regex, fix InputEdit generation.
Diffstat (limited to 'helix-view/src/keymap.rs')
-rw-r--r-- | helix-view/src/keymap.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/keymap.rs b/helix-view/src/keymap.rs index 750f1a5f..078f2bf1 100644 --- a/helix-view/src/keymap.rs +++ b/helix-view/src/keymap.rs @@ -175,6 +175,10 @@ pub fn default() -> Keymaps { modifiers: Modifiers::NONE }] => commands::change_selection as Command, vec![Key { + code: KeyCode::Char('s'), + modifiers: Modifiers::NONE + }] => commands::split_selection_on_newline as Command, + vec![Key { code: KeyCode::Esc, modifiers: Modifiers::NONE }] => commands::normal_mode as Command, |