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 634
  • Mac 327
  • Linux 210
Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18
Windows 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 1 0 0 0 0 0 0 0 0 0 0 2 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.