Nosrettap
Nosrettap

Reputation: 11320

Vim always asks for password

I just installed the spf13 plugin suite and now whenever I try to save a new file it asks me for a password:

enter image description here

This appears about a second after I type :w. What is going on and how can I fix it?

Upvotes: -3

Views: 322

Answers (1)

Ingo Karkat
Ingo Karkat

Reputation: 172590

As this appears after a file write, it is probably triggered by on the BufWritePost event.

:au BufWritePost

lists all potential candidates. As romainl has commented, using a distribution appears comfortable, but puts you at risk for unwanted effects, as you're giving up control of your config. If you can resolve this issue on your own, or find prompt help by the distribution's maintainer / community, okay. But if you struggle with this, re-think whether keeping the distribution is really worth it.

Vim "distributions" like spf-13 and Janus lure you with a quick install and out-of-the-box settings, but you pay the price with increased complexity (you need to understand both Vim's runtime loading scheme and the arbitrary conventions of the distribution) and inflexibility (the distribution may make some things easier, but other things very difficult). Vim is incredibly customizable, using someone else's customization makes no sense.

Upvotes: 3

Related Questions