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 632
  • Mac 325
  • Linux 210
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 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10
Windows 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 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 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 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 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.