How can I configure WinManager to automatically do this:
- when all files are close, quit vim.
- when one file (or buffer) are closed, show the next one.
- when vim starts, the focus go to the document window.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the WinManager docs: (Using Script #1440, updated from Script #95)
Which should fix your first issue.
As for the others, I’ll admit I rather quickly scanned the 3500+ lines of vimL, didn’t see anything that struck me as tweakable for the other issues without a deeper grokking of the code and how the author did things.