forked from Binocular222/Sublime-Text-3-Full-Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Split screen.txt
19 lines (18 loc) · 1.69 KB
/
Split screen.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
View > Layout to enable Split screen [[obj\Split screen.png]]
Default keybinding
alt+shift+2 for 2-screens alt+shift+3 for 3-screens...
Screens are equally splitted by default.
Change by edit Preferences > key binding:
{
"keys": ["alt+shift+2"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.5, 1.0], //screen width is divided by 3 slices at 0; 0.5; 1 * %screenwidth% → actually becomes 2 panes
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
ctrl+1, ctrl+2... to move cursor between screens
ctrl+shift+2 will move current tab to 2nd sceen, ctrl+shift+3 to 3rd...
(*) Note: To view same file in 2 panes: File → New view into file