3 ms·
Another approach to the swap file thing: view foo # opens read-only, no swap file vi foo # opens read-write Another benefit of this habit is, if
by adrianmonk 6y ago
Another approach to the swap file thing:
view foo # opens read-only, no swap file
vi foo # opens read-write
Another benefit of this habit is, if you know you're not going to want to modify a file, you can protect yourself against errors like accidentally changing something and then absentmindedly saving the file.
- jiannengli 6y agoNice, that'll come handy