vim default save is no file type? default setting advisable?
- by Brady Trainor
I just came across a problem that I seemed to have found a solution, but was a little surprised by the issue.
In gVim, when I save a new document (new from "within" gVim), ala
:w afile
I realized it saves with I guess no file format, and thus is not visible in iPhone's PlainText app. Solution seems to be, save using
:w afile.txt
then the problem seems solved. Is this a good way to solve it? Should I change a default somewhere, either in Windows or _gvimrc file?
I may consider doing some TeX'ing in vim at some point, so perhaps a default that allows for overriding in saving, and doesn't force txt when opening "any of all" documents.