Replies: 2 comments 1 reply
-
|
There is indeed quite limited support: : ; grep -E "v\(func" /home/alex/src/nvim-tree/3327/lua/nvim-tree/api/impl.lua
api.fs.copy.node = ev(function(e, n) e.clipboard:copy(n) end)
api.fs.cut = ev(function(e, n) e.clipboard:cut(n) end)
api.fs.remove = _v(function(n) require("nvim-tree.actions.fs.remove-file").fn(n) end)
api.fs.trash = _v(function(n) require("nvim-tree.actions.fs.trash").fn(n) end)
api.marks.toggle = ev(function(e, n) e.marks:toggle(n) end)I have also found myself trying to perform actions in visual mode that just... don't exist. It was built to be extensible and we should add more support. Those cases were just the obvious first ones. @Uanela what new visual functions do you think would be most valuable? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Happy to hear you @alex-courtis. the visual functions I am thinking about are:
I think this will feel more natural and expected then * n files. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've lately updated to latest nvim-tree version so that I could get access to the visual/bulk operations.
But I noticed that it doesn't actual works in visual mode, e.g: select files in visual mode and do something, it only works if I for example do in bunch of files for copy and so on.
I haven't delved deep into the code to understand if this is limitation or was the best thing we could get at the time the PR was submitted?
Beta Was this translation helpful? Give feedback.
All reactions