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:
@@ -67,6 +67,7 @@ function M.get_bindings()
|
||||
create = keybindings.create or 'a',
|
||||
remove = keybindings.remove or 'd',
|
||||
rename = keybindings.rename or 'r',
|
||||
full_rename = keybindings.full_rename or '<C-r>',
|
||||
cut = keybindings.cut or 'x',
|
||||
copy = keybindings.copy or 'c',
|
||||
paste = keybindings.paste or 'p',
|
||||
|
||||
Reference in New Issue
Block a user