I've recently been seeing a lot of .swp file extensions lately. I'm trying to follow a tutorial on customizing your mac terminal page
and i'm trying to edit my new .bash_profile file with the 'vi' editor but I'm getting this message after trying to open it via 'vi .bash_profile' ....
Found a swap file by the name ".bash_profile.swp"
owned by: Marcus dated: Mon Feb 14 19:33:23 2011
file name: ~Marcus/.bash_profile
user name: Marcus host name: Marcus-Mac-2.local
process ID: 343
While opening file ".bash_profile"
dated: Mon Feb 14 19:30:01 2011
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r .bash_profile"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".bash_profile.swp"
to avoid this message.
Swap file ".bash_profile.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: