Skip to content

Expand selection to line. Upwards or downwards.

License

Notifications You must be signed in to change notification settings

aafulei/sublime-expand-selection-to-line-upwards

Repository files navigation

Expand Selection to Line Upwards

A Sublime Text plugin that expands selection to line upwards or downwards.

^ Upward and downward expansions, and their undos.

Install

Package Control

How to Use

1. Key Bindings

No default key bindings. Define your own.

Recommended Key Bindings

{ "keys": ["primary+i"], "command": "expand_selection_to_line_upwards" },
{ "keys": ["primary+l"], "command": "expand_selection_to_line_downwards" },
{ "keys": ["primary+shift+l"], "command": "shrink_selection_by_line_upwards" },
{ "keys": ["primary+shift+i"], "command": "shrink_selection_by_line_downwards" },
Command Windows / Linux macOS
Expand Selection to Line Upwards Ctrl + I Cmd + I
Expand Selection to Line Downwards Ctrl + L Cmd + L
Shrink Selection by Line Upwards Ctrl + Shift + L Cmd + Shift + L
Shrink Selection by Line Downwards Ctrl + Shift + I Cmd + Shift + I

2. Main Menu

Selection > Expand Selection to Line Upwards
Selection > Expand Selection to Line Downwards
Selection > Shrink Selection by Line Upwards
Selection > Shrink Selection by Line Downwards

3. Command Palette

Expand Selection to Line Upwards
Expand Selection to Line Downwards
Shrink Selection by Line Upwards
Shrink Selection by Line Downwards

Author

Aaron Fu Lei

License

MIT

About

Expand selection to line. Upwards or downwards.

Resources

License

Stars

Watchers

Forks

Languages