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:
parent
466be14b56
commit
8bb2739e28
12 changed files with 42 additions and 34 deletions
|
@ -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!(),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue