Skip to content

api.fs.rename_full #2148

Closed
Closed
@alex-courtis

Description

@alex-courtis

Discussed in #2145

Originally posted by mosheavni April 18, 2023
I migrated to the on_attach function, but I cannot seem to find full_rename as it was before!
I tried all of those:

  vim.keymap.set('n', 'r', api.fs.rename, opts 'Rename')
  vim.keymap.set('n', 'r', api.fs.rename_node, opts 'Rename node')
  vim.keymap.set('n', 'r', api.fs.rename_basename, opts 'Rename basename')
  vim.keymap.set('n', 'r', api.fs.rename_sub, opts 'Rename sub')

(of course each time a different line from here)
nothing gives me both the full dirname and the filename, it's always one of them.
Is this feature gone?

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIAPI or EventPR pleasenvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions