diff --git a/crates/vim/src/command.rs b/crates/vim/src/command.rs index bc1b4ba201..f73734d0e2 100644 --- a/crates/vim/src/command.rs +++ b/crates/vim/src/command.rs @@ -1517,7 +1517,8 @@ mod test { dd dd ˇcc"}); - cx.simulate_shared_keystrokes("k : s / dd / ee enter").await; + cx.simulate_shared_keystrokes("k : s / d d / e e enter") + .await; cx.shared_state().await.assert_eq(indoc! {" aa dd diff --git a/crates/vim/test_data/test_command_replace.json b/crates/vim/test_data/test_command_replace.json index 698ef2a3bf..d14a8a78ce 100644 --- a/crates/vim/test_data/test_command_replace.json +++ b/crates/vim/test_data/test_command_replace.json @@ -24,8 +24,10 @@ {"Key":":"} {"Key":"s"} {"Key":"/"} -{"Key":"dd"} +{"Key":"d"} +{"Key":"d"} {"Key":"/"} -{"Key":"ee"} +{"Key":"e"} +{"Key":"e"} {"Key":"enter"} -{"Get":{"state":"aa\ndd\nˇee\ncc", "mode":"Normal"}} \ No newline at end of file +{"Get":{"state":"aa\ndd\nˇee\ncc","mode":"Normal"}}