aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-30 09:19:27 +0000
committerBlaž Hrastnik2021-03-30 09:19:27 +0000
commit88bb7a1f38764c1ae4781afecbf68a7707a60c49 (patch)
treee595ecf4967eeb5c11e86ca5063beef02171464a /helix-term/src/commands.rs
parentebfd67ac6ab0e0b10b99dec2d5fc7bb42d8fb10b (diff)
Repeat insert command (.).
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 166325b9..61c62251 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -722,7 +722,7 @@ pub fn delete_selection(cx: &mut Context) {
pub fn change_selection(cx: &mut Context) {
let doc = cx.doc();
_delete_selection(doc);
- insert_mode(cx);
+ enter_insert_mode(doc);
}
pub fn collapse_selection(cx: &mut Context) {