Skip to content

Commit

Permalink
Update docs for Select Next/Prev SplitOrTab commands
Browse files Browse the repository at this point in the history
  • Loading branch information
vlabo committed Mar 1, 2025
1 parent 6a228b2 commit 2aa471c
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions docs/docs/key-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,26 @@ Execute a predefined action in Rio terminal.

### [Split Actions](#split-actions)

| Action | Description |
| :-------------- | :------------------------------------------------------------------------- |
| SplitRight | Create a split by right side |
| SplitDown | Create a split by under current pane |
| SelectNextSplit | Select next split |
| SelectPrevSplit | Select previous split |
| CloseSplitOrTab | Close split, if split is the last then will close the tab |
| Action | Description |
| :------------------- | :------------------------------------------------------------------------- |
| SplitRight | Create a split by right side |
| SplitDown | Create a split by under current pane |
| SelectNextSplit | Select next split |
| SelectPrevSplit | Select previous split |
| CloseSplitOrTab | Close split, if split is the last then will close the tab |
| SelectNextSplitOrTab | Select next split if available if not next tab |
| SelectPrevSplitOrTab | Select previous split if available if not previous tab |

### [Tab Actions](#tab-actions)

| Action | Description |
| :------------------- | :---------------------------------------------------------------------- |
| CreateTab | |
| CloseTab | |
| CloseUnfocusedTabs | |
| SelectPrevTab | |
| SelectNextTab | |
| SelectLastTab | |
| CreateTab | Create new tab |
| CloseTab | Close current tab |
| CloseUnfocusedTabs | Close all tabs that are not currently focused |
| SelectNextTab | Select next tab |
| SelectPrevTab | Select pervious tab |
| SelectLastTab | Select last tab |
| MoveCurrentTabToPrev | Move the current focused tab to the previous slot if any is available |
| SelectTab(tab_index) | Example: Select first tab `SelectTab(0)`, second tab `SelectTab(1)` |

Expand Down

0 comments on commit 2aa471c

Please sign in to comment.