4 ms·
If you suggest improvements here I will make the modifications. I just changed :saveas filename to :w filename OS-agnostic methods are outside the scope of the
by jackkinsella 15y ago
If you suggest improvements here I will make the modifications. I just changed :saveas filename to :w filename
OS-agnostic methods are outside the scope of the guide, which is only intended for those coming from Textmate, implying that they are on a Mac. If I were to accommodate everyone it would get too messy to fulfill its primary purpose. The single responsibility principle applies equally to tutorials.
- CGamesPlay 15y ago:w FILENAME will save a file without changing the filename of the current buffer, while :sav FILENAME will update the filename (so that future :w will go to the new file, rather than the old one). I think :sav is the right one for that shortcut.
- aeden 15y agoInteresting! Thanks for the clarification and I definitely agree that :sav FILENAME is a more accurate Save File As... than :w FILENAME.