keymap: Update Prev to Previous follow-up (#25931)

Follow-up for https://github.com/zed-industries/zed/pull/25909

Add three more action replacements:

```
1. "pane::ActivatePrevItem" -> "pane::ActivatePreviousItem"
2. "vim::MoveToPrev" -> "vim::MoveToPrevious"
3. "vim:MoveToPrevMatch" -> "vim:MoveToPreviousMatch" 
```

Release Notes:

- N/A
This commit is contained in:
smit 2025-03-03 21:19:25 +05:30 committed by GitHub
parent 466be14b56
commit 8bb2739e28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 42 additions and 34 deletions

View file

@ -3884,7 +3884,7 @@ mod tests {
// From the Atom keymap
use workspace::ActivatePreviousPane;
// From the JetBrains keymap
use workspace::ActivatePrevItem;
use workspace::ActivatePreviousItem;
app_state
.fs
@ -3925,7 +3925,7 @@ mod tests {
workspace.register_action(|_, _: &A, _window, _cx| {});
workspace.register_action(|_, _: &B, _window, _cx| {});
workspace.register_action(|_, _: &ActivatePreviousPane, _window, _cx| {});
workspace.register_action(|_, _: &ActivatePrevItem, _window, _cx| {});
workspace.register_action(|_, _: &ActivatePreviousItem, _window, _cx| {});
cx.notify();
})
.unwrap();
@ -3974,7 +3974,7 @@ mod tests {
assert_key_bindings_for(
workspace.into(),
cx,
vec![("backspace", &B), ("{", &ActivatePrevItem)],
vec![("backspace", &B), ("{", &ActivatePreviousItem)],
line!(),
);
}