A configurable, per-window Distraction Free mode plugin for Sublime Text.
- Install Package Control
- Run
Package Control: Add Repositoryin the Command Palette - Add the repository:
https://github.com/Rypac/sublime-focus.git - Run
Package Control: Install Packagein the Command Palette - Install
sublime-focus
- Select the
Settings > Browse Packages…menu item - Browse up a directory and then into the
Installed Packages/directory - Download
Focus.sublime-packageand copy it into theInstalled Packages/directory
-
Select the
Settings > Browse Packages…menu item -
Within the
Packages/directory, clone the repository:git clone https://github.com/Rypac/sublime-focus.git Focus
| Command | Description |
|---|---|
| View: Toggle Focus Mode | Toggle focus mode for the active window |
| Preferences: Focus Settings | Edit plugin settings |
| Preferences: Focus Key Bindings | Edit plugin key bindings |
To avoid potential conflicts, this plugin does not enable key bindings by default.
The following is an example that uses a key binding to toggle focus mode for the active window.
[
{
"keys": ["primary+k", "primary+f"],
"command": "toggle_focus_mode"
}
]