Fix register selection in visual mode (#18418)
Related to #12895 Release Notes: - vim: Fix register selection in visual yank
This commit is contained in:
parent
c83d007138
commit
32605e9ea4
3 changed files with 10 additions and 1 deletions
|
@ -673,6 +673,9 @@ mod test {
|
|||
cx.simulate_shared_keystrokes("\" _ d d").await;
|
||||
cx.shared_register('_').await.assert_eq("");
|
||||
|
||||
cx.simulate_shared_keystrokes("shift-v \" _ y w").await;
|
||||
cx.shared_register('"').await.assert_eq("jumps");
|
||||
|
||||
cx.shared_state().await.assert_eq(indoc! {"
|
||||
The quick brown
|
||||
the ˇlazy dog"});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue