I write a lot of methods “like_this”. When I press “l< Tab >” to autocomplete all I am offered is “like”. Is there a way to configure VIM to give me “like_this” as an option?
Kindest of Regards,
— Jack
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.
@Randy Morris’s comment is worth exploring, type
set completeopt?to see what you have then:help completeoptto explore your choices.But I think that’s probably because your vim considers
_as a word delimiter by default. Check it out by typing:set iskeyword?, mine saysiskeyword=@,48-57,_,192-255.Type
:help iskeywordfor more information.