So I installed Synergy server on my Vista machine, and client on my MBP. To get this software to autostart, I had to create a Login Hook on my MBP, and I accidentally set it to run Synergy in the foreground. What this has done has basically screwed my ability to login to my MBP. I have tried booting into my System disk, going to terminal, and changing the file (I know how to fix the problem). But the error I'm getting is -bash: vi: command not found So where is vim stored, and why can't I run it from the System disc Terminal window?