On Tue, May 10, 2011 at 8:37 PM, Jeff Wheeler <jeffwhee...@gmail.com> wrote:
> On Tue, May 10, 2011 at 8:30 PM, Reiner Pope <reiner.p...@gmail.com> > wrote: > > > I'm currently working on making the layout of yi windows more flexible by > > the user (see Issue 348). Among other things, I would like to have my > > windows side-by-side as well as stacked on top of each other. My basic > > design has been to add a layout manager to the Yi.Tab.Tab datatype, which > is > > responsible for dividing up the available space among the open windows. > > Awesome! > > > All 'Window's are regular. That is, remove 'isMini' from the 'Window' > > datatype. > > Create a new 'MiniWindow' type, which supports only the appropriate > features > > (in particular, it can't access regular buffers) > > There is a global 'MiniWindow' for yi. Put it in to the 'Editor' > datatype: > > > > data Editor = Editor { ... minibuffer :: MiniWindow ... } > > I tend to look to Vim and Emacs for how these sorts of things should > work. Since they both have the same behavior, I definitely support > changing Yi to match that. Furthermore, this seems like the > appropriate implementation. > > +1 > I also +1 for similar reasons. this would also fix the current jumpy feel that a vertical split has when you use a minibuffer in the top window. I find it visually disturbing for some reason when the text keeps jumping up on me. > > -- > Jeff Wheeler > > Undergraduate, Electrical Engineering > University of Illinois at Urbana-Champaign > > -- > Yi development mailing list > yi-devel@googlegroups.com > http://groups.google.com/group/yi-devel > -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel