Closed rchar01 closed 6 years ago
Should this number include directories as well, or just a flat number of entries in a directory? Will it be useful in ztree-diff mode?
I've implemented this feature in the corresponding commit. It always show total number of entries(even hidden ones), otherwise it is confusing.
Thanks for the counting feature.
Is there a way to bind this variable to on/off shortcut (e.g /
)?
Bind this function
(defun ztree-toggle-show-number-of-children ()
(interactive)
(setf ztree-show-number-of-children (not ztree-show-number-of-children))
(ztree-refresh-buffer))
to some key.
I think that it would be a good feature to have an option (turn on/off in init file or maybe with shortcut) to show a number of visible files next to directory in ztree-dir, with separate face (e.g. shadow face). e.g.
and with
show filtered files
:What do you think about that?