SimpleAutoComplPop icon indicating copy to clipboard operation
SimpleAutoComplPop copied to clipboard

Override with complete option when in the middle of the word

Open for-coursera opened this issue 9 years ago • 5 comments

When editing an existing word and choosing the completion's suggestion, the rest of the word isn't deleted. Here's a screencast to illustrate: https://asciinema.org/a/3mbwu8vkpllcfwyvvxp9spt23

for-coursera avatar Jul 28 '16 04:07 for-coursera

Sorry, This is how vim's keyword completion behave. I don't think I could fix this.

roxma avatar Jul 28 '16 04:07 roxma

Seems that neocomplete does that somehow (if I'm not terribly mistaken...) :)

for-coursera avatar Jul 28 '16 05:07 for-coursera

As a workaround, use vim's ce to delete till the end of the word and enter inset mode.

roxma avatar Jul 28 '16 05:07 roxma

I wonder then, is it possible to detect if after the completion you are still in the middle of a word?

for-coursera avatar Jul 28 '16 06:07 for-coursera

@for-coursera I think you could roll your own solution for that using autocmd CompleteDone and put it in the README as an additional script, this is SimpleAutoComplPop after all :P I'm a novice too but just an FYI

msjyoo avatar Jul 28 '16 14:07 msjyoo