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

:w fails to properly save new file #222

Open
lee2sman opened this issue Sep 18, 2018 · 1 comment
Open

:w fails to properly save new file #222

lee2sman opened this issue Sep 18, 2018 · 1 comment

Comments

@lee2sman
Copy link

Hi, I see other issues that seem close but different from this issue that I am experiencing on Atom 1.26 on both Mac and Ubuntu. When I create a new file and attempt to save it with :w the first time, it seems to hang/crash (Mac) when the dialogue box opens, or on the Ubuntu it finishes saving, but in both cases the file name still says untitled in the tab. When I then try to save again, I can see that the file with the original name I typed in the dialogue box has been created in the file system but the file I am working in has not been associated with that and isn't able to save unless I manually select and save over the blank file.

@sarangjo
Copy link
Contributor

I believe the command you want in this case is actually :saveas <filename> with the filename. The behavior for :w is a bit more convoluted, though I agree that it should match the behavior of :saveas.

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

No branches or pull requests

2 participants