I love Sublime Text. I work with 2 panes (columns) open, jumping from one to the other. Whenever going from one pane to the other, I typically resize it some amount. To do this, I must position the mouse over just right of the vertical scrollbar until I see the double horizontal arrows appear. Sometimes it's a pain to hit just the right spot to grip for resizing.
I've used other apps where there's a shortcut key that automatically snaps me to horizontal resizing arrows. Is there such a shortcut key (or package) in Sublime Text? My searching has turned up empty handed.
Thanks!
Press ctrl + to increase font and ctrl shift + to decrease font size.
The shortcut key for this purpose is Ctrl+Shift+P for Windows and Cmd+Shift+P for Mac.
Open
Preferences -> Key Bindings - User
and add
{
"keys": ["ctrl+super+left"]
,"command": "set_layout"
,"args": {
"cols": [0.0, 0.75, 1.0]
,"rows": [0.0, 1.0]
,"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
{
"keys": ["ctrl+super+right"]
,"command": "set_layout"
,"args": {
"cols": [0.0, 0.25, 1.0]
,"rows": [0.0, 1.0]
,"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
{
"keys": ["ctrl+super+up"]
,"command": "set_layout"
,"args": {
"cols": [0.0, 0.5, 1.0]
,"rows": [0.0, 1.0]
,"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
}
ctrl + super + left = enlarges left pane
ctrl + super + right = enlarges right pane
ctrl + super + up = makes both panes same size
Check out the package Origami.
It has zoom mode and origami_auto_zoom_on_focus
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With