diff options
author | Sagittarius-a <sagittarius-a@users.noreply.github.com> | 2021-07-23 22:51:22 +0200 |
---|---|---|
committer | Sagittarius-a <sagittarius-a@users.noreply.github.com> | 2021-08-03 21:12:20 +0200 |
commit | 081c55458d95f310ad3b60547c054a5fc2dd6bda (patch) | |
tree | c2b1e6d5f96e14e8ab50c92e979356e406d878db /zellij-utils | |
parent | 404faf0498630eaa6ab17141b1ca1f9e5c53b9c3 (diff) |
fix: rename action to ToggleTab
Diffstat (limited to 'zellij-utils')
-rw-r--r-- | zellij-utils/assets/config/default.yaml | 2 | ||||
-rw-r--r-- | zellij-utils/src/input/actions.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/zellij-utils/assets/config/default.yaml b/zellij-utils/assets/config/default.yaml index 2be0911d6..0b102d701 100644 --- a/zellij-utils/assets/config/default.yaml +++ b/zellij-utils/assets/config/default.yaml @@ -166,7 +166,7 @@ keybinds: key: [ Char: '8',] - action: [GoToTab: 9,] key: [ Char: '9',] - - action: [GoToLastTab] + - action: [ToggleTab] key: [ Char: "\t" ] scroll: - action: [SwitchToMode: Normal,] diff --git a/zellij-utils/src/input/actions.rs b/zellij-utils/src/input/actions.rs index 977c1a48a..589b3935c 100644 --- a/zellij-utils/src/input/actions.rs +++ b/zellij-utils/src/input/actions.rs @@ -74,7 +74,7 @@ pub enum Action { /// Close the current tab. CloseTab, GoToTab(u32), - GoToLastTab, + ToggleTab, TabNameInput(Vec<u8>), /// Run speficied command in new pane. Run(RunCommandAction), |