Monday, May 9, 2016

Re: Make auto-completion insert multi-line text at one selection

@ZyX

@Luc Hermitte


Thank you for your reply. I looked into the code you provided. It seems the only viable way is through mapping of the key that accepts the selection (i.e. first insert the text, then check for the buffer's change to see what the selection is, probably expand it further). I was aware of this approach, I just thought it was a tedious work-around, especially when you don't actually need the buffer to be changed. Since there's no other approach I'm aware of I think shall go down this path with my application.

I'll have this topic updated if I find something new, thanks again.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment