mirror of
https://github.com/nvim-tree/nvim-tree.lua.git
synced 2026-07-28 07:49:46 +05:30
chore: add fs.move api and update docs
This commit is contained in:
@@ -20,7 +20,8 @@ Features
|
||||
- Git integration
|
||||
- Diagnostics integration: LSP and COC
|
||||
- (Live) filtering
|
||||
- Cut, copy, paste, rename, delete, create
|
||||
- Rename, delete, create
|
||||
- Cut, copy, paste locally and between instances
|
||||
- Highly customisable
|
||||
|
||||
File Icons
|
||||
@@ -2462,7 +2463,19 @@ cut({node}) *nvim_tree.api.fs.cut()*
|
||||
• {node} (`nvim_tree.api.Node?`)
|
||||
|
||||
paste({node}) *nvim_tree.api.fs.paste()*
|
||||
Paste from the nvim-tree clipboard.
|
||||
Paste while cutting files from:
|
||||
• current nvim-tree clipboard (if present)
|
||||
• another nvim-tree instance via system clipboard
|
||||
|
||||
If {node} is a file it will pasted in the parent directory.
|
||||
|
||||
Parameters: ~
|
||||
• {node} (`nvim_tree.api.Node?`)
|
||||
|
||||
paste({node}) *nvim_tree.api.fs.paste()*
|
||||
Paste files from:
|
||||
• current nvim-tree clipboard (if present)
|
||||
• another nvim-tree instance via system clipboard
|
||||
|
||||
If {node} is a file it will pasted in the parent directory.
|
||||
|
||||
|
||||
@@ -59,7 +59,19 @@ function nvim_tree.api.fs.create(node) end
|
||||
function nvim_tree.api.fs.cut(node) end
|
||||
|
||||
---
|
||||
---Paste from the nvim-tree clipboard.
|
||||
---Paste files from:
|
||||
---- current nvim-tree clipboard (if present)
|
||||
---- another nvim-tree instance via system clipboard
|
||||
---
|
||||
---If {node} is a file it will pasted in the parent directory.
|
||||
---
|
||||
---@param node? nvim_tree.api.Node
|
||||
function nvim_tree.api.fs.paste(node) end
|
||||
|
||||
---
|
||||
---Paste while cutting files from:
|
||||
---- current nvim-tree clipboard (if present)
|
||||
---- another nvim-tree instance via system clipboard
|
||||
---
|
||||
---If {node} is a file it will pasted in the parent directory.
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user