diff options
author | Aram Drevekenin <aram@poor.dev> | 2021-08-24 10:58:36 +0200 |
---|---|---|
committer | Aram Drevekenin <aram@poor.dev> | 2021-08-24 10:58:36 +0200 |
commit | 618c2c376bb4edca8693ea4b871279bc04501559 (patch) | |
tree | b4d4426b353955e8af1ed8ad6531f95860eda5f6 /zellij-utils/assets | |
parent | 7a2f86db1b34b027ca03be73ec7bc4681f33fbdf (diff) | |
parent | 88b4063879845cf53397f60201473ce386280cfe (diff) |
Merge branch 'tab-layout' of https://github.com/a-kenji/zellij into a-kenji-tab-layout
Diffstat (limited to 'zellij-utils/assets')
-rw-r--r-- | zellij-utils/assets/config/default.yaml | 2 | ||||
-rw-r--r-- | zellij-utils/assets/layouts/default.yaml | 32 | ||||
-rw-r--r-- | zellij-utils/assets/layouts/disable-status-bar.yaml | 20 | ||||
-rw-r--r-- | zellij-utils/assets/layouts/strider.yaml | 32 |
4 files changed, 48 insertions, 38 deletions
diff --git a/zellij-utils/assets/config/default.yaml b/zellij-utils/assets/config/default.yaml index 94f12f33c..42f2287b7 100644 --- a/zellij-utils/assets/config/default.yaml +++ b/zellij-utils/assets/config/default.yaml @@ -136,7 +136,7 @@ keybinds: key: [ Char: 'h', Left, Up, Char: 'k',] - action: [GoToNextTab,] key: [ Char: 'l', Right,Down, Char: 'j'] - - action: [NewTab,] + - action: [NewTab: ,] key: [ Char: 'n',] - action: [CloseTab,] key: [ Char: 'x',] diff --git a/zellij-utils/assets/layouts/default.yaml b/zellij-utils/assets/layouts/default.yaml index b163821de..e0a28da12 100644 --- a/zellij-utils/assets/layouts/default.yaml +++ b/zellij-utils/assets/layouts/default.yaml @@ -1,16 +1,20 @@ --- -direction: Horizontal -parts: +template: + direction: Horizontal + parts: + - direction: Vertical + borderless: true + split_size: + Fixed: 1 + run: + plugin: tab-bar + - direction: Vertical + body: true + - direction: Vertical + borderless: true + split_size: + Fixed: 2 + run: + plugin: status-bar +tabs: - direction: Vertical - borderless: true - split_size: - Fixed: 1 - run: - plugin: tab-bar - - direction: Vertical - - direction: Vertical - borderless: true - split_size: - Fixed: 2 - run: - plugin: status-bar diff --git a/zellij-utils/assets/layouts/disable-status-bar.yaml b/zellij-utils/assets/layouts/disable-status-bar.yaml index a03c71c3a..a58ef4cf4 100644 --- a/zellij-utils/assets/layouts/disable-status-bar.yaml +++ b/zellij-utils/assets/layouts/disable-status-bar.yaml @@ -1,10 +1,12 @@ --- -direction: Horizontal -parts: - - direction: Vertical - borderless: true - split_size: - Fixed: 1 - run: - plugin: tab-bar - - direction: Vertical +template: + direction: Horizontal + parts: + - direction: Vertical + borderless: true + split_size: + Fixed: 1 + run: + plugin: tab-bar + - direction: Vertical + body: true diff --git a/zellij-utils/assets/layouts/strider.yaml b/zellij-utils/assets/layouts/strider.yaml index 288143894..96e3c290e 100644 --- a/zellij-utils/assets/layouts/strider.yaml +++ b/zellij-utils/assets/layouts/strider.yaml @@ -1,12 +1,22 @@ --- -direction: Horizontal -parts: - - direction: Vertical - borderless: true - split_size: - Fixed: 1 - run: - plugin: tab-bar +template: + direction: Horizontal + parts: + - direction: Vertical + borderless: true + split_size: + Fixed: 1 + run: + plugin: tab-bar + - direction: Vertical + body: true + - direction: Vertical + borderless: true + split_size: + Fixed: 2 + run: + plugin: status-bar +tabs: - direction: Vertical parts: - direction: Horizontal @@ -15,9 +25,3 @@ parts: run: plugin: strider - direction: Horizontal - - direction: Vertical - borderless: true - split_size: - Fixed: 2 - run: - plugin: status-bar |