diff options
author | Dante Pippi <6619666+dantepippi@users.noreply.github.com> | 2021-05-07 18:19:23 -0300 |
---|---|---|
committer | Dante Pippi <6619666+dantepippi@users.noreply.github.com> | 2021-05-09 17:05:14 -0300 |
commit | 9c09cf16587a2b97c63c05d94ff4f18fe557cbf5 (patch) | |
tree | 18a8ff8eebbbff0f93eb5af8e270c398ccb65a70 /example/tmux-overview.yaml | |
parent | 2cd433d0d6a43e0b774ee212fc3c95743a520460 (diff) |
New behavior for h and l
New behavior for h and l, will change tabs if there are no available
panes in the direction.
cargo clippy
Ensuring atomicity for the MoveFocusOrTab
- Blocking the input thread for the action MoveFocusOrTab
- Using "unreachable" macro in match arm to make it clear that the
directions Up and Down should not be used with the action MoveFocusOrTab
Adding tests
Diffstat (limited to 'example/tmux-overview.yaml')
-rw-r--r-- | example/tmux-overview.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/tmux-overview.yaml b/example/tmux-overview.yaml index 887a84ad2..c40bdb771 100644 --- a/example/tmux-overview.yaml +++ b/example/tmux-overview.yaml @@ -17,9 +17,9 @@ keybinds: key: [Ctrl: 'q',] - action: [NewPane: ] key: [ Alt: 'n',] - - action: [MoveFocus: Left,] + - action: [MoveFocusOrTab: Left,] key: [ Alt: 'h',] - - action: [MoveFocus: Right,] + - action: [MoveFocusOrTab: Right,] key: [ Alt: 'l',] - action: [MoveFocus: Down,] key: [ Alt: 'j',] |