Re: Fixate window layout?

2017-03-24 Thread Ben Fritz
On Thursday, March 23, 2017 at 1:47:34 PM UTC-5, Christian Brabandt wrote: > On Do, 23 Mär 2017, lith wrote: > > > The commands `wincmd c`, `bdelete` will remove the split and I end up with a > > single vim window. Neither winfixheight nor winfixwidth protected me from > > this. > > But I'd rathe

Re: Fixate window layout?

2017-03-23 Thread Christian Brabandt
On Do, 23 Mär 2017, lith wrote: > The commands `wincmd c`, `bdelete` will remove the split and I end up with a > single vim window. Neither winfixheight nor winfixwidth protected me from > this. > But I'd rather expect/want the other window to not change at all and the > current window be display

Re: Fixate window layout?

2017-03-23 Thread Charles E Campbell
lith wrote: > 2017-03-23 0:02 GMT+01:00 Shawn H Corey >: > > > Try 'winfixheight' and 'winfixwidth'. > > > > And 'winpos' for position. > > > Maybe I didn't make myself clear. With "window" I refer to windows in > vim, not the frame of the gui window. > >

Re: Fixate window layout?

2017-03-23 Thread lith
2017-03-23 0:02 GMT+01:00 Shawn H Corey : > > Try 'winfixheight' and 'winfixwidth'. > > > > And 'winpos' for position. Maybe I didn't make myself clear. With "window" I refer to windows in vim, not the frame of the gui window. When I execute the following: e foo vsplit bar windo setl winfixhei

Re: Fixate window layout?

2017-03-22 Thread Shawn H Corey
On Wed, 22 Mar 2017 22:55:48 +0100 Bram Moolenaar wrote: > > > I'm sorry I don't understand how mksession or mkview could help in > > this situation. > > > > I guess my problem description was imprecise. I don't want to > > maintain a certain layout across sessions or even maintain a > > specif

Re: Fixate window layout?

2017-03-22 Thread Bram Moolenaar
> I'm sorry I don't understand how mksession or mkview could help in this > situation. > > I guess my problem description was imprecise. I don't want to maintain a > certain layout across sessions or even maintain a specific layout. I > want __certain__ windows not to change e.g. when another

Re: Fixate window layout?

2017-03-22 Thread tom
Read: :help mksession I'm sorry I don't understand how mksession or mkview could help in this situation. I guess my problem description was imprecise. I don't want to maintain a certain layout across sessions or even maintain a specific layout. I want __certain__ windows not to change e.g.

Re: Fixate window layout?

2017-03-22 Thread Charles E Campbell
lith wrote: > Hi! > > When switching back from eclipse to vim, I sometimes find it (still) > surprising that vim doesn't seem to provide a way to "fixate" the window > layout. While I think the volatility of the window layout is an advantage > when working on a small screen, it can be annoying o

Fixate window layout?

2017-03-22 Thread lith
Hi! When switching back from eclipse to vim, I sometimes find it (still) surprising that vim doesn't seem to provide a way to "fixate" the window layout. While I think the volatility of the window layout is an advantage when working on a small screen, it can be annoying on a big screen, where I