feat: Support copy name and path (#385)

This commit is contained in:
Zi莱卷
2021-05-21 14:32:48 +08:00
committed by GitHub
parent ef570074e0
commit d6ab59fd5a
4 changed files with 35 additions and 0 deletions

View File

@@ -66,6 +66,9 @@ M.View = {
["x"] = M.nvim_tree_callback("cut"),
["c"] = M.nvim_tree_callback("copy"),
["p"] = M.nvim_tree_callback("paste"),
["y"] = M.nvim_tree_callback("copy_name"),
["Y"] = M.nvim_tree_callback("copy_path"),
["gy"] = M.nvim_tree_callback("copy_absolute_path"),
["[c"] = M.nvim_tree_callback("prev_git_item"),
["]c"] = M.nvim_tree_callback("next_git_item"),
["-"] = M.nvim_tree_callback("dir_up"),