fourier / ztree

Directory tree comparison mode for Emacs
http://www.emacswiki.org/emacs/ZtreeDiff
GNU General Public License v3.0
239 stars 21 forks source link

Dir - lock window size #48

Closed nickelas closed 7 years ago

nickelas commented 7 years ago

Feature requests for ztree-dir: I set the width for ztree-dir so that it matches the content, then when I collapse another window ztree takes that space also and is now way too big. Would be useful to be able to "lock" the size in a simple way.

fourier commented 7 years ago

Hi, The ztree width is dependent on window width. You can press 'g' to refresh ztree window and redraw it. The whole concept of ztree is to not to care about actual window. We are assuming it is not too small though. The ztree will resize by the size of window its buffer is presented in, or could be redrawn with 'g' key. The window management itself - where to place ztree, which window, its size etc could be managed with another plugins for Emacs.

fourier commented 7 years ago

@nickelas Did it resolve the issue for you ? Can we close it or I didn't understand something from your request?

nickelas commented 7 years ago

Ok, thanks.