Re:Dwm.vim : Tiled Window Management for Vim
by mrinterweb on Wednesday August 22, 2012 @07:22PM
(#4420136)
Not quite figuring out how this is functionally different than vim's split buffers. Just seems less flexible than splits in that it did not mention that tiled windows could be repositioned or resized.
[ Parent
| on HN ]
Re:Dwm.vim : Tiled Window Management for Vim
by ori_b on Wednesday August 22, 2012 @08:30PM
(#4420306)
Steamlined UX. With Vim split windows, I have to care about positioning. I need to rescale the windows so that I can see the code effectively. I need to think about window management. This automates it for me, and I have one less thing to think about.
Flexibility can be nice, but it can also get annoying. I don't want to micromanage behavior if the environment can do the right thing for me.
Re:Dwm.vim : Tiled Window Management for Vim
by mrinterweb on Thursday August 23, 2012 @02:31AM
(#4421196)
I frequently work with one vertical split in the middle with a class file on one side and the related spec on the other. I can relate to wanting to have a standard layout. I just frequently, split up the windows even more as I work. I used to find splits difficult to manage, but then I got used to/addicted to them. Personally, I would have difficulty with a fixed layout, but I can understand how it could be appealing.
Re:Dwm.vim : Tiled Window Management for Vim
by msbarnett on Wednesday August 22, 2012 @08:22PM
(#4420277)
By default Vim's split buffers have some fairly annoying behaviours -- for example, if you accidentally close the file browser you have taking up the entire left hand of the window, all of the other buffers gobble up that space instead of retaining your painstakingly assembled layout.
Re:Dwm.vim : Tiled Window Management for Vim
by mrinterweb on Thursday August 23, 2012 @02:18AM
(#4421160)
I guess to each their own, but I like the default behavior of when a split buffers is closed that the other buffers resize to fill the void. I'd prefer to see the space available used rather than trying to find something to fill the empty buffer with.
Unrelated, but I also enjoy being able to Ctrl+w,Shift+[hjkl] to move splits around relative to the other splits.
Re:Dwm.vim : Tiled Window Management for Vim
by msbarnett on Thursday August 23, 2012 @09:07PM
(#4425721)
> I guess to each their own, but I like the default behavior of when a split buffers is closed that the other buffers resize to fill the void. I'd prefer to see the space available used rather than trying to find something to fill the empty buffer with.
Yeah, but the point is I closed it accidentally. So now I reopen NERDTree or whatever and have to spend a bunch of time micromanaging my splits back into the arrangement I just had them in.
Wasted space sucks, but so does having things wreck my layout in an over-eager attempt to avoid it.
Re:Dwm.vim : Tiled Window Management for Vim
by iankp on Thursday August 23, 2012 @12:58AM
(#4420977)
This can be a common problem especially when working with a module which occupies a split, but doesn't depend on the file you're working on, like NERDTree. I've solved this problem in a fairly lightweight and elegant manner with the Bclose module, however, by (c)mapping bd to Bclose