Use zed-style shifted letters (#20254)
Release Notes: - vim: Fixed some shortcuts to render correctly in Command
This commit is contained in:
parent
86ff6e2c8e
commit
236498408f
4 changed files with 16 additions and 16 deletions
|
@ -227,17 +227,17 @@ mod test {
|
|||
let mut cx = NeovimBackedTestContext::new(cx).await;
|
||||
// works in visual mode
|
||||
cx.set_shared_state("a😀C«dÉ1*fˇ»\n").await;
|
||||
cx.simulate_shared_keystrokes("U").await;
|
||||
cx.simulate_shared_keystrokes("shift-u").await;
|
||||
cx.shared_state().await.assert_eq("a😀CˇDÉ1*F\n");
|
||||
|
||||
// works with line selections
|
||||
cx.set_shared_state("abˇC\n").await;
|
||||
cx.simulate_shared_keystrokes("shift-v U").await;
|
||||
cx.simulate_shared_keystrokes("shift-v shift-u").await;
|
||||
cx.shared_state().await.assert_eq("ˇABC\n");
|
||||
|
||||
// works in visual block mode
|
||||
cx.set_shared_state("ˇaa\nbb\ncc").await;
|
||||
cx.simulate_shared_keystrokes("ctrl-v j U").await;
|
||||
cx.simulate_shared_keystrokes("ctrl-v j shift-u").await;
|
||||
cx.shared_state().await.assert_eq("ˇAa\nBb\ncc");
|
||||
}
|
||||
|
||||
|
|
|
@ -752,7 +752,7 @@ mod test {
|
|||
},
|
||||
Mode::Visual,
|
||||
);
|
||||
cx.simulate_keystrokes("g I");
|
||||
cx.simulate_keystrokes("g shift-i");
|
||||
cx.assert_state(
|
||||
indoc! {
|
||||
"ˇThe quick brown
|
||||
|
@ -775,7 +775,7 @@ mod test {
|
|||
},
|
||||
Mode::Visual,
|
||||
);
|
||||
cx.simulate_keystrokes("g A");
|
||||
cx.simulate_keystrokes("g shift-a");
|
||||
cx.assert_state(
|
||||
indoc! {
|
||||
"The quick brownˇ
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{"Put":{"state":"a😀C«dÉ1*fˇ»\n"}}
|
||||
{"Key":"U"}
|
||||
{"Key":"shift-u"}
|
||||
{"Get":{"state":"a😀CˇDÉ1*F\n","mode":"Normal"}}
|
||||
{"Put":{"state":"abˇC\n"}}
|
||||
{"Key":"shift-v"}
|
||||
{"Key":"U"}
|
||||
{"Key":"shift-u"}
|
||||
{"Get":{"state":"ˇABC\n","mode":"Normal"}}
|
||||
{"Put":{"state":"ˇaa\nbb\ncc"}}
|
||||
{"Key":"ctrl-v"}
|
||||
{"Key":"j"}
|
||||
{"Key":"U"}
|
||||
{"Key":"shift-u"}
|
||||
{"Get":{"state":"ˇAa\nBb\ncc","mode":"Normal"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue