How can I configure vim so that when I send the process a USR1 signal it saves and quits (as opposed

Posted by Philip Hallstrom on Stack Overflow See other posts from Stack Overflow or by Philip Hallstrom
Published on 2010-05-03T17:45:35Z Indexed on 2010/05/04 0:58 UTC
Read the original article Hit count: 257

Filed under:
|

Here's my situation. I have a bunch of vim processes open. Rather than go through one by one and save/quite (:x!) I'd like to send all of the processes a signal - say USR1 - and instead of having it create a recovery .swp file, I'd like it to save the file and exit normally.

Possible?

© Stack Overflow or respective owner

Related posts about vim

Related posts about unix