Skip to content

Commit 96aad6f

Browse files
committed
breaking: stop shipping with key bindings
they mask built-ins fixes wbond/sublime_terminal#216 fixes wbond/sublime_terminal#17
1 parent 7359c6b commit 96aad6f

File tree

4 files changed

+24
-13
lines changed

4 files changed

+24
-13
lines changed

Default (Linux).sublime-keymap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[
2-
{ "keys": ["ctrl+shift+t"], "command": "open_terminal" },
3-
{ "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" }
4-
]
2+
// { "keys": ["ctrl+shift+t"], "command": "open_terminal" },
3+
// { "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" }
4+
]

Default (OSX).sublime-keymap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[
2-
{ "keys": ["super+shift+t"], "command": "open_terminal" },
3-
{ "keys": ["super+shift+alt+t"], "command": "open_terminal_project_folder" }
4-
]
2+
// { "keys": ["super+shift+t"], "command": "open_terminal" },
3+
// { "keys": ["super+shift+alt+t"], "command": "open_terminal_project_folder" }
4+
]

Default (Windows).sublime-keymap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[
2-
{ "keys": ["ctrl+shift+t"], "command": "open_terminal" },
3-
{ "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" }
4-
]
2+
// { "keys": ["ctrl+shift+t"], "command": "open_terminal" },
3+
// { "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" }
4+
]

readme.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,27 @@ Download [Package Control](https://packagecontrol.io/) and use the *Package Cont
1010

1111
- **Open Terminal at File**
1212
Opens a terminal in the folder containing the currently opened file.
13-
Press `ctrl+shift+t` on Windows and Linux, or `cmd+shift+t` on MacOS.
1413
- **Open Terminal at Project Folder**
1514
Opens a terminal in the project folder containing the currently opened file.
16-
Press `ctrl+alt+shift+t` on Windows and Linux, or `cmd+alt+shift+t` on MacOS.
1715

18-
In addition to the key bindings, terminals can also be opened via the editor context menu and the sidebar context menus.
16+
Terminals can be opened via the command palette, the editor context menu and the sidebar context menus. Additionally, you can set up key bindings.
17+
18+
### Key bindings
19+
20+
To create keyboard shortcuts, open the *Preferences > Package Settings > Terminal > Key Bindings* menu entry. Our suggested key bindings are on the left, you can copy these over to your personal bindings on the right and tweak them to your liking. Example:
21+
22+
```json
23+
[
24+
{ "keys": ["super+shift+t"], "command": "open_terminal" },
25+
{ "keys": ["super+shift+alt+t"], "command": "open_terminal_project_folder" }
26+
]
27+
```
28+
29+
Note that in version 2 of this package, we stopped enabling these bindings by default. They conflicted with built-in bindings of Sublime Text, and users might have different preferences.
1930

2031
## Package Settings
2132

22-
The settings can be viewed and edited by accessing the *Preferences > Package Settings > Terminal > Settings** menu entry.
33+
The settings can be viewed and edited by accessing the *Preferences > Package Settings > Terminal > Settings* menu entry.
2334

2435
- **terminal**
2536
- The terminal to execute, will default to the OS default if blank.

0 commit comments

Comments
 (0)