Open
Description
#1791 adds rename_root
which presents the file without the absolute path, just the file name.
This is good UX and should also be applied to rename
.
This change would be a break in existing functionality, however rename_full
does provide most of the existing rename
experience.
Change rename-file.lua
fn
to apply vim.fn.fnamemodify(node.absolute_path, ":t"))
before presenting input.
Update: #1791 applies sane defaults, resolving the above, as well as adding configurable rename suggestion.