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
Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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"]
}