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