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

Expand Selection to Line Before

by dotmaster ST2

SublimeExpandSelectionToLineBefore

Details

  • 2012.09.02.14.36.11
  • github.​com
  • github.​com
  • 12 years ago
  • 2 weeks ago
  • 12 years ago

Installs

  • Total 257
  • Win 141
  • Mac 78
  • Linux 38
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 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15
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 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

Expand Selection to Line Before

A command to expand the current selection to the line before, which is something I need quite often.

Each time this command runs it will expand one line above.

After expanding, you can also contract the selection back by one line.

Usage

Both commands are available in the Selection menu and bound to the following keyboard shortcuts on Windows and Linux:

Expand Selection by one line                Ctrl+Alt+Shift+Up
Contract by one line                        Ctrl+Alt+Shift+Down

Or similarly, on OS X:

Expand Selection by one line                ^⌥⇧↑ (Ctrl+Option+Shift+Up)
Contract by one line                        ^⌥⇧↓ (Ctrl+Option+Shift+Down)