I found this question, but mine is a bit different.
When I write code dealing with arrays or classes like
document.getElementById("myElement"), I get annoyed because I have to use word completion a few times. Vim's completion is helpful like
$myArray, but then I still have to type
['$myE<C-P>'] to finish the whole WORD. I tried changing
iskeyword to include
'., but that returned too many results to sort through when I only wanted to complete words.
d<C-X><C-L> is helpful sometimes, but also not what I'm looking for.
How can I configure Vim to keep the default word completion to complete
document, and also add something, maybe
<C-X><C-W>, to complete