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 File #101

Open
kans opened this issue Jul 21, 2013 · 2 comments
Open

Rename File #101

kans opened this issue Jul 21, 2013 · 2 comments
Labels

Comments

@kans
Copy link
Member

kans commented Jul 21, 2013

The old one on disk sticks around.

@ggreer
Copy link
Member

ggreer commented Dec 3, 2013

Yeah, this is still an issue.

@kans
Copy link
Member Author

kans commented Mar 28, 2015

We can do it!

on_post_window_command
  look for rename_path with args like ({'paths': ['somefukcingpath']},) 
  on_activated, 
    look for a new buffer without a name whose text is the same as the base name 
      record the view's id
  on_deactivated
    look for view matching id
      check if the original path still exists/view still exists

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

2 participants