Browse
Launch terminals from the current file or the root project folder
- Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses. Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.
- Sublime Text is a sophisticated text editor for code, markup, and prose. You'll love the slick user interface, extraordinary features, and amazing performance.Goto Anything. Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines, or words.
Sublime Text 3192. February 28, 2019. Sublime Text is a sophisticated text editor for code, markup, and prose. You’ll love the slick user interface, extraordinary features, and amazing performance. Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines, or words.
Details
Installs
- Total719K
- Win379K
- Mac181K
- Linux159K
Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 136 | 185 | 151 | 148 | 170 | 172 | 186 | 191 | 172 | 134 | 132 | 179 | 167 | 210 | 183 | 170 | 168 | 154 | 164 | 178 | 177 | 172 | 148 | 139 | 131 | 143 | 161 | 182 | 194 | 192 | 134 | 132 | 188 | 206 | 192 | 167 | 193 | 156 | 134 | 177 | 191 | 178 | 238 | 192 | 143 | 154 |
Mac | 41 | 43 | 29 | 25 | 38 | 50 | 44 | 40 | 40 | 27 | 25 | 40 | 38 | 42 | 44 | 43 | 29 | 41 | 28 | 45 | 40 | 48 | 42 | 36 | 37 | 42 | 41 | 53 | 48 | 51 | 40 | 30 | 42 | 48 | 55 | 56 | 50 | 33 | 32 | 51 | 54 | 66 | 59 | 47 | 20 | 39 |
Linux | 39 | 60 | 43 | 28 | 52 | 47 | 38 | 57 | 61 | 44 | 57 | 44 | 60 | 50 | 42 | 46 | 44 | 37 | 55 | 64 | 63 | 57 | 57 | 35 | 40 | 63 | 54 | 55 | 59 | 45 | 57 | 49 | 48 | 51 | 62 | 50 | 66 | 39 | 48 | 55 | 61 | 49 | 63 | 58 | 43 | 42 |
Readme
- Source
- raw.githubusercontent.com
Shortcuts and menu entries for opening a terminal at the current file, or the current root project folder in Sublime Text.
Sublime Text 3 3207
Features
- Opens a terminal in the folder containing the currently edited file
- Opens a terminal in the project folder containing the currently edited file
Installation
Sublime Text Draw_white_space
Download Package Control and use the Package Control: Install Package command from the command palette. Using Package Control ensures Terminal will stay up to date automatically.
Usage
- Open Terminal at File Press ctrl+shift+t on Windows and Linux, or cmd+shift+t on OS X
- Open Terminal at Project Folder Press ctrl+alt+shift+t on Windows and Linux, or cmd+alt+shift+t on OS X
In addition to the key bindings, terminals can also be opened via the editor context menu and the sidebar context menus.
Package Settings
The default settings can be viewed by accessing the Preferences > Package Settings > Terminal > Settings – Default menu entry. To ensure settings are not lost when the package is upgraded, make sure all edits are saved to Settings – User.
- terminal
- The terminal to execute, will default to the OS default if blank. OS X users may enter iTerm.sh to launch iTerm if installed.
- Default:“”
- parameters
- The parameters to pass to the terminal. These parameters will be used if no custom parameters are passed via a key binding.
- Default:[]
- env
- The environment variables changeset. Default environment variables used when invoking the terminal are inherited from sublime.
- The changeset may be used to overwrite/unset environment variables. Use
null
to indicate that the environment variable should be unset. - Default:{}
Examples
Here are some example setups:
Cmder on Windows
xterm on GNU/Linux
gnome-terminal for CJK users on GNU/Linux
iTerm on OS X
iTerm on OS X with tabs
iTerm2 v3 on OS X
Hyper on OS X
Windows Terminal
Custom Parameters
Lyn 1 8 5 – lightweight image browser and viewer. With the parameters argument to the open_terminal and open_terminal_project_folder commands, it is possible to construct custom terminal environments.
The following is an example of passing the parameters -T 'Custom Window Title' to a terminal. Please note that this example is just an example, and is tailored to the XFCE terminal application. Your terminal may use the
-T
option for some other features or setting. Custom key bindings such as this would be added to the file opened when accessing the Preferences > Key Bindings – User menu entry (the file name varies by operating system).A parameter may also contain the %CWD% placeholder, which will be substituted with the current working directory the terminal was opened to.