Rename "CloseInactiveItems" action to "CloseOtherItems" (#34676)

This is following feedback from folks that were searching the "close
others" action, available in the tab's context menu, and not finding it
because it was actually named "close inactive", which was confusing. So,
this PR makes sure the tab's menu item and the action have consistent
naming.

Release Notes:

- Rename "CloseInactiveItems" action to "CloseOtherItems" for naming
consistency.
This commit is contained in:
Danilo Leal 2025-07-17 21:40:02 -03:00 committed by GitHub
parent a7284adafa
commit c287397a18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 28 additions and 27 deletions

View file

@ -1085,12 +1085,12 @@ fn generate_commands(_: &App) -> Vec<VimCommand> {
),
VimCommand::new(
("tabo", "nly"),
workspace::CloseInactiveItems {
workspace::CloseOtherItems {
save_intent: Some(SaveIntent::Close),
close_pinned: false,
},
)
.bang(workspace::CloseInactiveItems {
.bang(workspace::CloseOtherItems {
save_intent: Some(SaveIntent::Skip),
close_pinned: false,
}),