zgpio / tree.nvim Goto Github PK
View Code? Open in Web Editor NEWNeovim file-explorer powered by C++
License: BSD 3-Clause "New" or "Revised" License
Neovim file-explorer powered by C++
License: BSD 3-Clause "New" or "Revised" License
Can you give an install method via vim plugin manager like vim-plug ?
Give examples of how to configure this plugin, please .
Thanks for your plugin. I want use tree.nvim
as a substitute for defx.nvim
,but I find tree.nvim's performance is poor on wsl .
For example ,the pwd is /mnt/d/foo/bar1/bar2/
, then I open nvim and type :Tree
,tree.nvim took more time to respond then defx.
My environment
WSL2 Ubuntu22.04
nvim 0.8.0
tree.nvim latest and default configuration
On Windows platform, there are still problems with the communication connection with neovim, so windows auto build is not working for now.
Allow installation to get dependency from vcpkg, might assist to make solving #15 even easier, in a more cross platform manner.
I think it can be useful to copy several files/folders and then paste them in another directory instead of copying one by one.
-- keymap(keys, action1, action2, ...) action can be `vim action` or `tree action`
tree.keymap('cp', 'copy')
tree.keymap('s', {'drop', 'split'})
tree.keymap('s', {'multi', {{'drop', 'split'}, 'quit'}})
tree.keymap('s', {'drop', 'split'}, 'quit')
tree.keymap('cd', {'cd', {'.'}})
-- tree action and vim action
tree.keymap('<Tab>', 'toggle_select', 'j')
-- callable need eval every time
tree.keymap([[\]], {'cd', vim.fn.getcwd})
Hi,
I just noticed that the recent commits actually moving from viml to lua, and those changes break in nvim-4.x .
To be specific, the vim.fn
is not available until the 5.x version, which has not been stablized yet.
I'm actually wondering does it help to use lua instead of viml in this project, even ignoring the compatibility issue. Although luaJIT is way faster than viml, the heavy work load in this project is delegated to the C++ part. In that sense, I don't think moving to lua will help much.
Regards
Hi, I wanted to give your plugin a try but I can't make it work with neovim plugin system.
Can you give us an ETA regarding this?
For example,
If we rename from /tmp/a/b
to /tmp/b
, the tree's buffer won't change.
We either need to redraw the current tree and the target tree or simply redraw the entire tree.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.