I always make typos when typing the long function names like ctx.createRadialGradient. It will be great if I can autocomplete them.
- Is there any plugin I can use out of the box?
- If not, how to add new custom keywords for vim’s autocompletion?
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.
In insert mode exists command Ctrl-XCtrl-P to complete with previous matches. So if you have:
and begin to write
ctx.cr, press Ctrl-XCtrl-P and those strings will appear in a context window, you can navigate throught them with arrow keys or with Ctrl-N for Next or Ctrl-P for Previous.