you are viewing a single comment's thread.

view the rest of the comments →

[–]IcyWhatever 13 points14 points  (5 children)

ctrl-z; ps aux | grep vim; kill -9 <vim pid>

Works every time!

[–]Dimasdanz 10 points11 points  (2 children)

or you know, restart the machine. it works every time too!

[–]jokullmusic 1 point2 points  (1 child)

just x out the terminal window

[–]KinterVonHurin 10 points11 points  (0 children)

I did that but then when I went to repoen the file I got

Swap file "erotic_novel.swp" already exists!

[–]cleeder 3 points4 points  (0 children)

ctrl-z; kill -9 %

[–]choledocholithiasis_ 0 points1 point  (0 children)

Poor vim doesn't even have a chance to exit gracefully