Closed rchar01 closed 6 years ago
Yes its not hard to do and could be useful.
Please test how does it work for you.
Works great, thanks.
Closing it then.
I noticed a small bug.
Currently, e.g. when the cursor is on the fourteenth directory (ztree-dir), after using the narrow function, we go to the very end of the new directory tree (if there are fewer directories in this folder), and the same with widen.
I think that after using the function narrow/widen the cursor should go to the first position (as before after the refresh function).
What do you think?
Ah it looks like a bug to me. Will take a look at it later.
Now it should be fixed. Please close the issue if it works for you and no other related issues has been found.
I don't see anything that needs improvement now, it works great for me. Thanks for the new feature and fixing the bug.
I think it would be a good feature if the cursor did not change its position after refreshing the buffer (ztree-refresh-buffer). Optionally for the user.
Is it possible? What do you think about it?