ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Feature Presentation

by ctruett ALL

Tired of distractions? Use Feature Presentation to isolate any portion of your document with a single keypress.

Details

Installs

  • Total 1K
  • Win 629
  • Mac 323
  • Linux 210
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Feature Presentation

demo

While working with a large document, sometimes it's necessary to focus on a specific bit of text without any distractions. In the past, I would insert line breaks before and after the region I wanted to focus on, but that is both slow and sloppy.

Enter Feature Presentation.

This plugin allows you to focus on single portion of your document. To activate Feature Presentation, select the portion of your document that you would like to isolate, and press a keyboard shortcut.

After editing, close the window and whatever change you made will be applied to your original document.

Installation

Available on Package Control

After installation, add

{ "keys": ["alt+i"], "command": "feature_presentation" }

to your keybindings, changing alt+i to whatever you want.

Basic mode

basic mode demo

Basic mode, which folds the text around your selection instead of creating a new window, can be enabled by adding

"fp_basic": true

to your user preferences.

Bugs

None reported at this point. Check back later?

Changelog

  • 2018-08-05: Fixed long overdue bugs with ST3! Thanks @ivans!
  • 2015-04-15: Cleaned up and simplified the code, squashed bugs.
  • 2015-04-15: Basic mode, which folds the text around your selection instead of creating a new window, can be enabled with "fp_basic": true
  • 2015-04-14: No longer relies on cold folding, so you can't accidentally delete most of your document. When activated, the selected text will load into a new view. When you close this view the changes will be reflected in your original document.