Skip to content

Commit

Permalink
Change the keyboard shortcut for opening new terminal tab on macOS (#…
Browse files Browse the repository at this point in the history
…42295)

* Change new terminal tab keyboard shortcut for macOS

* Fix incorrect shortcuts for macOS
  • Loading branch information
gzdunek authored Jun 3, 2024
1 parent 085ebe4 commit c59bc5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ more details.
On Windows and Linux, some of the default shortcuts conflicted with the default bash or nano shortcuts
(e.g. Ctrl + E, Ctrl + K).
On those platforms, the default shortcuts have been changed to a combination of Ctrl + Shift + *.
We also updated the shortcut to open a new terminal on macOS to Cmd + \`.
We also updated the shortcut to open a new terminal on macOS to Control + Shift + \`.
See [configuration](docs/pages/connect-your-client/teleport-connect.mdx#configuration)
for the current list of shortcuts.

Expand Down
8 changes: 4 additions & 4 deletions docs/pages/connect-your-client/teleport-connect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Alternatively, you can look for the server in the search bar and press `Enter` t
## Opening a local terminal

To open a terminal with a local shell session, either select "Open new terminal" from the additional
actions menu or press `` Ctrl+Shift+`/Cmd+` ``.
actions menu or press `` Ctrl+Shift+` ``.

Any tsh command executed within the tab targets the current cluster. Teleport Connect accomplishes
this by setting the environment variables `TELEPORT_PROXY` and `TELEPORT_CLUSTER` for the session.
Expand Down Expand Up @@ -423,9 +423,9 @@ Below is the list of the supported config properties.
| `keymap.tab1` - `keymap.tab9` | `Command+1` - `Command+9` on macOS <br/> `Ctrl+1` - `Ctrl+9` on Windows<br/>`Alt+1` - `Alt+9` on Linux | Shortcut to open tab 1–9. |
| `keymap.closeTab` | `Command+W` on macOS<br/>`Ctrl+Shift+W` on Windows/Linux | Shortcut to close a tab. |
| `keymap.newTab` | `Command+T` on macOS<br/>`Ctrl+Shift+T` on Windows/Linux | Shortcut to open a new tab. |
| `keymap.newTerminalTab` | `` Shift+Command+` `` on macOS<br/>`` Ctrl+Shift+` `` on Windows/Linux | Shortcut to open a new terminal tab. |
| `keymap.previousTab` | `Shift+Command+Tab` on macOS<br/>`Ctrl+Shift+Tab` on Windows/Linux | Shortcut to go to the previous tab. |
| `keymap.nextTab` | `Command+Tab` on macOS<br/>`Ctrl+Tab` on Windows/Linux | Shortcut to go to the next tab. |
| `keymap.newTerminalTab` | `` Control+Shift+` `` on macOS<br/>`` Ctrl+Shift+` `` on Windows/Linux | Shortcut to open a new terminal tab. |
| `keymap.previousTab` | `Control+Shift+Tab` on macOS<br/>`Ctrl+Shift+Tab` on Windows/Linux | Shortcut to go to the previous tab. |
| `keymap.nextTab` | `Control+Tab` on macOS<br/>`Ctrl+Tab` on Windows/Linux | Shortcut to go to the next tab. |
| `keymap.openConnections` | `Command+P` on macOS<br/>`Ctrl+Shift+P` on Windows/Linux | Shortcut to open the connection list. |
| `keymap.openClusters` | `Command+E` on macOS<br/>`Ctrl+Shift+E` on Windows/Linux | Shortcut to open the cluster selector. |
| `keymap.openProfiles` | `Command+I` on macOS<br/>`Ctrl+Shift+I` on Windows/Linux | Shortcut to open the profile selector. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const getDefaultKeymap = (
tab9: 'Command+9',
closeTab: 'Command+W',
newTab: 'Command+T',
newTerminalTab: 'Shift+Command+`',
newTerminalTab: 'Control+Shift+`',
previousTab: 'Control+Shift+Tab',
nextTab: 'Control+Tab',
openSearchBar: 'Command+K',
Expand Down

0 comments on commit c59bc5a

Please sign in to comment.