If you accidentally are renaming a file and decide to not rename the file, or you just want to copy the filename itself (there is no such option to only copy the filename, see snippet below), the rename-buffer stays open.
The only way to fix this, is to accept the current name, but that generates a message that the file already exists.
If you start renaming a different file, the previous rename-buffer is closed as well.
Starting rename:
Quitted the rename, but the rename-buffer remains visible:
One way to close the rename-buffer is to accept the non-modified name, which generates a message:
There is no option to copy solely the filename:
`treemacs-mode' Major Mode Bindings Starting With y:
Key Binding
y a treemacs-copy-absolute-path-at-point
y f treemacs-copy-file
y p treemacs-copy-project-path-at-point
y r treemacs-copy-relative-path-at-point
y v treemacs-paste-dir-at-point-to-minibuffer
This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).
If you accidentally are renaming a file and decide to not rename the file, or you just want to copy the filename itself (there is no such option to only copy the filename, see snippet below), the rename-buffer stays open.
The only way to fix this, is to accept the current name, but that generates a message that the file already exists. If you start renaming a different file, the previous rename-buffer is closed as well.
Starting rename:
Quitted the rename, but the rename-buffer remains visible:
One way to close the rename-buffer is to accept the non-modified name, which generates a message:
There is no option to copy solely the filename: