feat/fix: add rename cmd, fix rename error
- add <C-r> binding to omit the filename on rename (option is full_rename). - call `silent! write!` on rename to avoid the `overwrite existing file` error when saving the buffer.
This commit is contained in:
@@ -211,6 +211,7 @@ INFORMATIONS *nvim-tree-info*
|
||||
|
||||
- type 'a' to add a file
|
||||
- type 'r' to rename a file
|
||||
- type `<C-r>` to rename a file and omit the filename on input
|
||||
- type 'x' to add/remove file/directory to cut clipboard
|
||||
- type 'c' to add/remove file/directory to copy clipboard
|
||||
- type 'p' to paste from clipboard. Cut clipboard has precedence over copy
|
||||
|
||||
Reference in New Issue
Block a user