Autocomplete javascript/DOM API in vim?

Viewed 977

I always make typos when typing the long function names like ctx.createRadialGradient. It will be great if I can autocomplete them.

  1. Is there any plugin I can use out of the box?
  2. If not, how to add new custom keywords for vim's autocompletion?
1 Answers
Related