Saturday, September 10, 2011

Re: Generic directory/tree viewer plugin

Reply to message «Re: Generic directory/tree viewer plugin»,
sent 21:13:18 10 September 2011, Saturday
by Alexandru Tica:

> Did you check this?
> http://www.vim.org/scripts/script.php?script_id=1139
It has some problems:
1. Some mappings cannot be redefined
2. :normal (without bang) everywhere
3. No built-in visual mode support
4. No support for custom actions (b:Tree_InitMappingsFunction is just as good
solution as using `:autocmd FileType' or like)
5. Tree can be opened only by :new or :vnew command. I was going to use
edit/new/vnew/vsplit/... aurum://tree, but this is arguable (I don't think
anybody needs to do `:read aurum://tree...'). The ability not to open a new
window is not
6. No support for columns with data

7. It can't be installed using vim-addon-manager if you have p7zip on your
system (inside a tree.tgz there is a tree.tar.tar archive, while tree.tar is
expected).

Thus it is easier to write my own treeviewer framework rather then use this
script.

Original message:
> Did you check this?
> http://www.vim.org/scripts/script.php?script_id=1139
>
> On Sat, Sep 10, 2011 at 7:55 PM, ZyX <zyx.vim@gmail.com> wrote:
> > Is there any directory/tree viewer plugin that can be fed with custom
> > directory tree (custom function that creates this tree) and allows to
> > define non-standart actions and redefine and delete standart ones?

No comments: