RecenterTopBottom
Sublime Text 2 plugin that cycles through scrolling the current line to the top, middle and bottom of the screen.
Details
Installs
- Total 216
- Win 67
- Mac 78
- Linux 71
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
RecenterTopBottom
A Sublime Text 2 plugin that cycles between moving the current line to the top, middle and bottom of the visible screen area.
Installation
- Open the Sublime Text 2 Packages folder:
- OS X: `~/Library/Application Support/Sublime Text 2/Packages/`
- Windows: `%APPDATA%/Sublime Text 2/Packages/`
- Linux: `~/.Sublime Text 2/Packages/`
- Clone this repo:
git clone git://github.com/mburrows/RecenterTopBottom.git
Commands
This plugin provides a single command called recenter_top_bottom
. Repeated calls to this command will move the current line to the top, middle and bottom of the visible screen area. The ordering can be customised using the settings file.
Keybindings
The default keybinding is similar to ctrl+l
which is bound to the built in show_at_center
command:
{ "keys": ["ctrl+alt+l"], "command": "recenter_top_bottom" }
Personally I override the show_at_center
command with recenter_top_bottom
, it provides all the functionality of the original command and more. This can be accomplished by putting the following in your Key Bindings - User
file:
{ "keys": ["ctrl+l"], "command": "recenter_top_bottom" }
Settings
To change the ordering create a file called Packages/User/RecenterTopBottom.sublime-settings
and redefine the recenter_positions
setting as follows:
{
"recenter_positions": ["middle", "top", "bottom"]
}