5

Vim insert mode completion for sentences

view full story
linux-howto

http://unix.stackexchange.com – I would like to have insert mode completion for sentences rather than lines in vim. C-x C-l completes lines, but cannot complete sentences that do not start with a new line. For example: I have a dog. My dog's name is Spot. I want to be able to type: My dog then hit a key to complete the sentence. What is the best way to do this? A thread with the same title did not have a solution. (HowTos)