MrMartineau wrote: API: Added window.get_layout() and window.set_layout()
What will adding this feature enable users to do?
More seriously, have you ever used tmux? Rotating the tiles and resizing the cells/views via keyboard? All possible now.
Have you ever had a twin vertical layout setup then switched to single panel and lost your tab organisation when you went back to a twin V layout?
By adding those APIs Jon empowers the community to empower ourselves.
With just a few more APIs (available in ST1 but not yet in ST2) you could do some pretty cool stuff:
window.active_view_in_group( ... )
window.get_view_position( ... )
window.views_in_group( ... )
With an API to get a cells (rows, cols) dimensions (characters) you could create (v|h)split `at cursor` plugins.
It is better to remain silent and be thought a fool, than to speak out and remove all doubt