# Mac Actions

This page lists every action in the Rex for Mac command palette. Use the name to [bind a key](/content/rex/docs/customize/keyboard-shortcuts.md) or to run it with `rex do`. Anything tagged [Bleeding Edge](/content/rex/docs/reference/mac-settings.md#setting-app-version-update-channel/index.html) is on that update channel and not yet in Preview.

## Window

| Action | Name | Default Shortcut |
| --- | --- | --- |
| New Window | `client.window.new` | `cmd+n` |
| Close Window | `client.window.close` | `shift+cmd+w` |
| Toggle Full Screen | `client.window.fullscreen.toggle` | `ctrl+cmd+f` |
| Close | `client.close` | `cmd+w` |

## App

| Action | Name | Default Shortcut |
| --- | --- | --- |
| Command Palette… | `client.palette.toggle` | `shift+cmd+p` |
| Settings… | `client.settings` | `cmd+,` |
| Rex Diagnostics | `client.diagnostics` | `shift+cmd+,` |
| Open Onboarding Session… | `client.onboarding` |  |
| Grant System Permissions… | `client.permissions` |  |
| Toggle Visibility | `client.visibility.toggle` |  |
| Copy Version Info | `client.version.copy` |  |
| Copy Debug Info | `client.debug.copy` |  |
| Pair Device with QR Code… | `client.pair_device` |  |
| Install Update | `client.update.accept` | `shift+cmd+u` |
| Relaunch when Idle | `client.update.accept_when_idle` | `alt+shift+cmd+u` |
| Check for Updates in Background | `client.update.check` |  |
| Report Update Status | `client.update.status` |  |
| Install Update and Relaunch | `client.update.install` |  |
| Set Update Automation | `client.update.set_automation` |  |
| Set Update Channel | `client.update.set_channel` |  |
| Dismiss Notice | `client.notice.dismiss` | `shift+cmd+.` |
| Change Shortcut… | `client.shortcuts.edit` |  |
| Install Rex for Agents | `client.agents.setup` |  |
| Restart Server… | `client.server.restart` |  |

## Session

| Action | Name | Default Shortcut |
| --- | --- | --- |
| New Session | `session.new` | `shift+cmd+n` |
| Change Session… | `session.switch` | `cmd+k` |
| Go to Session | `session.select` |  |
| Next Session | `session.next` |  |
| Previous Session | `session.previous` |  |
| Rename Session | `session.rename` |  |
| Close Session | `session.close` |  |
| Refresh Sessions | `session.refresh` | `cmd+r` |
| Open Session on Web… | `session.open_on_web` |  |
| Collapse Session | `session.collapse` |  |
| Expand Session | `session.expand` |  |
| Collapse Other Sessions | `session.collapse_others` |  |

## Host

| Action | Name | Default Shortcut |
| --- | --- | --- |
| Switch Host | `client.host.switch` |  |
| Add Remote Host… | `client.host.add` |  |
| Remove Host… | `client.host.remove` |  |

## Tab

| Action | Name | Default Shortcut |
| --- | --- | --- |
| New Tab | `client.tab.new` | `cmd+t` |
| Close Tab | `client.tab.close` | `alt+cmd+w` |
| Close Other Tabs | `client.tab.close_others` |  |
| Rename Tab | `client.tab.rename` |  |
| Show Next Tab | `client.tab.next` | `ctrl+tab`, `shift+cmd+]` |
| Show Previous Tab | `client.tab.previous` | `ctrl+shift+tab`, `shift+cmd[` |
| Go to Tab | `client.tab.goto` | `cmd+[Digit1]`, `cmd+[Digit2]`, `cmd+[Digit3]`, `cmd+[Digit4]`, `cmd+[Digit5]`, `cmd+[Digit6]`, `cmd+[Digit7]`, `cmd+[Digit8]`, `cmd+[Digit9]` |
| Move Tab | `client.tab.move` |  |
| Move Tab Backward | `client.tab.move.backward` | `ctrl+shift+pageup` |
| Move Tab Forward | `client.tab.move.forward` | `ctrl+shift+pagedown` |
| Move Tab to New Window | `client.tab.move_to_new_window` |  |

## Pane

| Action | Name | Default Shortcut |
| --- | --- | --- |
| Split Pane | `pane.split` |  |
| Split Pane Left | `pane.split.left` | `shift+cmd+left` |
| Split Pane Right | `pane.split.right` | `cmd+d`, `shift+cmd+right` |
| Split Pane Up | `pane.split.up` | `shift+cmd+up` |
| Split Pane Down | `pane.split.down` |  `shift+cmd+d`, `shift+cmd+down` |
| Split Pane Best Fit | `pane.split.auto` | `cmd+enter` |
| Focus Pane | `pane.focus` |  |
| Focus Pane Left | `pane.focus.left` | `alt+cmd+left` |
| Focus Pane Right | `pane.focus.right` | `alt+cmd+right` |
| Focus Pane Up | `pane.focus.up` | `alt+cmd+up` |
| Focus Pane Down | `pane.focus.down` | `alt+cmd+down` |
| Focus Next Pane | `pane.focus_next` | `cmd+]` |
| Focus Previous Pane | `pane.focus_previous` | `cmd[` |
| Move Pane | `pane.move` |  |
| Move Pane Left | `pane.move.left` | `alt+shift+cmd+left` |
| Move Pane Right | `pane.move.right` | `alt+shift+cmd+right` |
| Move Pane Up | `pane.move.up` | `alt+shift+cmd+up` |
| Move Pane Down | `pane.move.down` | `alt+shift+cmd+down` |
| Float Pane | `pane.float` | `alt+cmd+enter` |
| New Floating Pane | `pane.new_floating` |  |
| Minimize Floating Window | `pane.minimize_floating` | `alt+cmd+m` |
| Minimize Floating Windows | `pane.minimize_all_floating` | `alt+shift+cmd+enter` |
| Zoom Pane | `pane.zoom` | `shift+cmd+enter` |
| Close Pane | `pane.close` | `cmd+w` |
| Close Other Panes | `pane.close_others` |  |
| Balance Splits | `pane.balance` |  |
| Resize Pane | `pane.resize` |  |
| Move Pane to New Tab | `pane.move_to_new_tab` |  |
| Move Pane to Tab… | `pane.move_to_tab` |  |
| Go to Directory… | `pane.go_to_directory` | `shift+cmd+g` |
| Go to Anything… | `pane.go_to` | `cmd+p` |
| View Activity… | `pane.view_activity` |  |
| Insert Path… | `pane.insert_path` | `ctrl+cmd+i` |
| Copy Pane ID | `pane.copy_id` |  |
| Rename Pane | `pane.rename` |  |
| Paste into Pane | `pane.paste` |  |
| Copy from Pane | `pane.copy` |  |
| Select All in Pane | `pane.select_all` |  |
| Send Key | `pane.send_key` | `cmd+backspace`, `cmd+left`, `cmd+right`, `alt+left`, `alt+right` |
| Send Key to Server | `client.key.forward` |  |
| Jump to Previous Prompt | `client.prompt.previous` | `cmd+up` |
| Jump to Next Prompt | `client.prompt.next` | `cmd+down` |
| Scroll Page Up | `client.scroll.page_up` |  |
| Scroll Page Down | `client.scroll.page_down` |  |
| Quick Look | `client.quick_look` | `cmd+y` |

## Keys

| Action | Name | Default Shortcut |
| --- | --- | --- |
| Enter Mode | `client.mode.enter` |  |
| Exit Mode | `client.mode.exit` |  |
| Exit All Modes | `client.mode.exit_all` |  |

## Find

| Action | Name | Default Shortcut |
| --- | --- | --- |
| Find… | `client.find.open` | `cmd+f` |
| Find Next | `client.find.next` | `cmd+g` |
| Find Previous | `client.find.previous` | `shift+cmd+g` |

## View

| Action | Name | Default Shortcut |
| --- | --- | --- |
| Increase Font Size | `client.font.increase` | `shift+cmd+=`, `cmd+=` |
| Decrease Font Size | `client.font.decrease` | `cmd+-` |
| Reset Font Size | `client.font.reset` | `cmd+[Digit0]` |
| Toggle Sidebar | `client.sidebar.toggle` | `cmd+/` |
| Toggle Activity | `client.sidebar.activity.toggle` | `cmd+.` |
| Show Activity by Session | `client.sidebar.activity.by_session` |  |
| Show Activity by Priority | `client.sidebar.activity.by_priority` |  |
| Focus Tab Filter | `client.sidebar.filter.focus` |  |
| Toggle Tab Style | `client.tab_style.toggle` | `shift+cmd+s` |
| Change Theme… | `client.theme.change` |  |
| Import Theme File | `client.theme.import` |  |
| Switch Appearance Mode | `client.appearance.switch_mode` |  |
| Copy Config File Path | `client.config.copy_path` |  |
| Reload Config | `client.config.reload` |  |
