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 Orual
parent 64acb727fc
commit 05112e7ac7
No known key found for this signature in database
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,
}),