Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When quitting a rename, the rename-buffer stays open #1121

Open
sebastiaanspeck opened this issue Sep 4, 2024 · 1 comment
Open

When quitting a rename, the rename-buffer stays open #1121

sebastiaanspeck opened this issue Sep 4, 2024 · 1 comment
Labels

Comments

@sebastiaanspeck
Copy link
Contributor

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:
Screenshot 2024-09-04 at 09 11 18

Quitted the rename, but the rename-buffer remains visible:
Screenshot 2024-09-04 at 09 11 33

One way to close the rename-buffer is to accept the non-modified name, which generates a message:
Screenshot 2024-09-04 at 09 14 02

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
Copy link

stale bot commented Nov 7, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant