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

Rename/Move should be open buffer aware #8

Open
habamax opened this issue Jul 28, 2022 · 0 comments
Open

Rename/Move should be open buffer aware #8

habamax opened this issue Jul 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@habamax
Copy link
Owner

habamax commented Jul 28, 2022

If you rename files, all related buffers should be aware of it.

Single/multiple files/directorys rename, no corresponding buffers are opened in vim

Do nothing

Single file rename and a buffer is in vim and nomodified

buffer is invisible

  • wipeout
  • open renamed buffer as hidden (is it even possible?).

Maybe use file instead, to give a buffer new name.

buffer is visible

Maybe use file to give a buffer new name.

Multiple files rename and there are multiple corresponding opened buffers

...

Single directory rename and there are multiple renamed files are opened in vim

...

Multiple directories/files rename and there are multiple renamed files/directories are opened in vim

For directories -- do nothing if they are opened in netrw. Only handle dirs opened in vim-dir

...

@habamax habamax added the enhancement New feature or request label Jul 28, 2022
@habamax habamax changed the title Rename should be open buffer aware Rename/Move should be open buffer aware Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant