summaryrefslogtreecommitdiff
path: root/helix-view/src/keymap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-01 09:44:46 +0000
committerBlaž Hrastnik2020-10-01 09:44:46 +0000
commit77d75d92752835e2953b4a70f7ee8a9aeaff9fa0 (patch)
treea5937ed41fc5acd8977485a6f615481056c58c0e /helix-view/src/keymap.rs
parent5945815d978da07d0970502d481c17ef02525c4d (diff)
Collapse cursors command (;).
Diffstat (limited to 'helix-view/src/keymap.rs')
-rw-r--r--helix-view/src/keymap.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/keymap.rs b/helix-view/src/keymap.rs
index c5bce85a..d4ab85a2 100644
--- a/helix-view/src/keymap.rs
+++ b/helix-view/src/keymap.rs
@@ -134,6 +134,7 @@ pub fn default() -> Keymaps {
vec![key!('d')] => commands::delete_selection,
vec![key!('c')] => commands::change_selection,
vec![key!('s')] => commands::split_selection_on_newline,
+ vec![key!(';')] => commands::collapse_selection,
vec![Key {
code: KeyCode::Esc,
modifiers: Modifiers::NONE