aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/keymap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/keymap.rs')
-rw-r--r--helix-view/src/keymap.rs4
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,