nvim-tree / nvim-tree.lua

A file explorer tree for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The option `cb = tree_cb("trash")` broken

nyngwang opened this issue · comments

commented

OS
macOS

Neovim version
NVIM v0.7.0-dev+797-gb218d02c4

Nvim-tree version
lastest

Describe the bug
The option cb = tree_cb("trash") broken. After I pressed y the file is not moved to the trash can.

I thought this as well, but it turns out the implementation relies on a separate command line tool. You can install it with NPM, here: https://github.com/sindresorhus/trash-cli

It would be nice to have this documented.

commented

I think it's already documented :

  - |trash.cmd|: the command used to trash items (must be installed on your system)
      type: `string`
      default: `"trash"`

closing this because its not broken 😄