Home Download Buy Blog Forum Support

API for dealing with layout groups

API for dealing with layout groups

Postby svenax on Wed Aug 01, 2012 11:03 pm

I'm thinking of how to implement equivalents of Vim's window resizing commands. I particular it would be nice to maximize the current layout group (like ctrl+w, _ and ctrl+w, | in Vim). Even better would be to also remember the current layout, even if it has been customized, to toggle between maximized and normal layout groups. I don't think there is such an API available, but hopefully I just missed it. :)
svenax
 
Posts: 154
Joined: Tue Dec 20, 2011 12:47 pm

Re: API for dealing with layout groups

Postby adzenith on Thu Aug 02, 2012 12:22 am

I don't think there's anything like that, but if you wanted to send a pull request to https://github.com/SublimeText/Origami I wouldn't say no :)
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: API for dealing with layout groups

Postby svenax on Thu Aug 02, 2012 10:53 pm

Thanks for that! Looking at Origami, I realize that I probably can do what I want already (at least mostly). I'll play around with it over the weekend and send a pull request when I'm done.
svenax
 
Posts: 154
Joined: Tue Dec 20, 2011 12:47 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 18 guests