I had some issues with XPTemplate vim plugin. Sometimes it yields with errors, and makes impossible to edit file. I heal it by doing following steps:
- Delete buffer
- Find closed file
- Open file again
How can I automate this process?
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.
Depending on the situation, a forced reload via
:edit!may already be enough. Otherwise, you could try:bdelete | edit #.I would also inform the plugin author, if you suspect it’s due to a bug in the plugin itself.