Exclude pinned tabs when closing items (#19593)
Closing multiple items will no longer closed pinned tabs. Closes #19560 Release Notes: - Fixed close actions closing pinned tabs.
This commit is contained in:
parent
b33ae888c0
commit
4f62ebe4be
5 changed files with 220 additions and 47 deletions
|
@ -628,10 +628,12 @@ fn generate_commands(_: &AppContext) -> Vec<VimCommand> {
|
|||
("tabo", "nly"),
|
||||
workspace::CloseInactiveItems {
|
||||
save_intent: Some(SaveIntent::Close),
|
||||
close_pinned: false,
|
||||
},
|
||||
)
|
||||
.bang(workspace::CloseInactiveItems {
|
||||
save_intent: Some(SaveIntent::Skip),
|
||||
close_pinned: false,
|
||||
}),
|
||||
VimCommand::new(
|
||||
("on", "ly"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue