Skip to content

Separate :rename command that moves within the current directory #11053

Answered by the-mikedavis
dob9601 asked this question in Ideas
Discussion options

You must be logged in to vote

You can use the document path register % instead. In the :move prompt use <C-r>% to insert the current document's path and then use C-w to delete the last segment of the path

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dob9601
Comment options

Answer selected by dob9601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
A-command Area: Commands
2 participants
Converted from issue

This discussion was converted from issue #11052 on June 28, 2024 18:06.