Use split direction preferences more (#16679)
Use new split direction preferences in more places (#16345) Release Notes: - N/A
This commit is contained in:
parent
93642c9c51
commit
c697eaba82
6 changed files with 54 additions and 41 deletions
|
@ -136,6 +136,8 @@ actions!(
|
|||
FollowNextCollaborator,
|
||||
NewCenterTerminal,
|
||||
NewFile,
|
||||
NewFileSplitVertical,
|
||||
NewFileSplitHorizontal,
|
||||
NewSearch,
|
||||
NewTerminal,
|
||||
NewWindow,
|
||||
|
@ -168,9 +170,6 @@ pub struct ActivatePaneInDirection(pub SplitDirection);
|
|||
#[derive(Clone, Deserialize, PartialEq)]
|
||||
pub struct SwapPaneInDirection(pub SplitDirection);
|
||||
|
||||
#[derive(Clone, Deserialize, PartialEq)]
|
||||
pub struct NewFileInDirection(pub SplitDirection);
|
||||
|
||||
#[derive(Clone, PartialEq, Debug, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct SaveAll {
|
||||
|
@ -220,7 +219,6 @@ impl_actions!(
|
|||
ActivatePaneInDirection,
|
||||
CloseAllItemsAndPanes,
|
||||
CloseInactiveTabsAndPanes,
|
||||
NewFileInDirection,
|
||||
OpenTerminal,
|
||||
Reload,
|
||||
Save,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue