vim: Add neovim 0.11 default mappings (#28602)
Update the keymap to include: https://neovim.io/doc/user/news-0.11.html#_defaults This does conflict with `gr` replace with register though, is `gR` a good alternative? Release Notes: - vim: Update the keymap to include: https://neovim.io/doc/user/news-0.11.html#_defaults - vim: Replace with register has been remapped from `gr` to `gR`.
This commit is contained in:
@@ -917,7 +917,7 @@ mod test {
|
||||
);
|
||||
cx.simulate_keystrokes("y i w");
|
||||
cx.simulate_keystrokes("w");
|
||||
cx.simulate_keystrokes("g r i w");
|
||||
cx.simulate_keystrokes("g shift-r i w");
|
||||
cx.assert_state(
|
||||
indoc! {"
|
||||
fish fisˇh
|
||||
@@ -925,7 +925,7 @@ mod test {
|
||||
"},
|
||||
Mode::Normal,
|
||||
);
|
||||
cx.simulate_keystrokes("j b g r e");
|
||||
cx.simulate_keystrokes("j b g shift-r e");
|
||||
cx.assert_state(
|
||||
indoc! {"
|
||||
fish fish
|
||||
@@ -945,7 +945,7 @@ mod test {
|
||||
);
|
||||
cx.simulate_keystrokes("y i w");
|
||||
cx.simulate_keystrokes("w");
|
||||
cx.simulate_keystrokes("v i w g r");
|
||||
cx.simulate_keystrokes("v i w g shift-r");
|
||||
cx.assert_state(
|
||||
indoc! {"
|
||||
fish fisˇh
|
||||
@@ -953,7 +953,7 @@ mod test {
|
||||
"},
|
||||
Mode::Normal,
|
||||
);
|
||||
cx.simulate_keystrokes("g r r");
|
||||
cx.simulate_keystrokes("g shift-r r");
|
||||
cx.assert_state(
|
||||
indoc! {"
|
||||
fisˇh
|
||||
@@ -961,7 +961,7 @@ mod test {
|
||||
"},
|
||||
Mode::Normal,
|
||||
);
|
||||
cx.simulate_keystrokes("j w g r $");
|
||||
cx.simulate_keystrokes("j w g shift-r $");
|
||||
cx.assert_state(
|
||||
indoc! {"
|
||||
fish
|
||||
@@ -986,7 +986,7 @@ mod test {
|
||||
);
|
||||
cx.simulate_keystrokes("y i w");
|
||||
cx.simulate_keystrokes("w");
|
||||
cx.simulate_keystrokes("g r i w");
|
||||
cx.simulate_keystrokes("g shift-r i w");
|
||||
cx.assert_state(
|
||||
indoc! {"
|
||||
fish fisˇh
|
||||
|
||||
Reference in New Issue
Block a user