Sunday, March 23, 2014

Re: Automatic completion from word list

On 2014-03-17 11:40 -0700, lith wrote:

> The "problem" here is that the vim ecosystem has significantly
> changed during the past years with the advent of, e.g., github
> and plugin managers that know how to deal with git repos and
> the like. Unfortunately, VIM doesn't have such a full-fledged
> plugin manager built-in what causes this confusion. (There is
> GLVS but that's from a different era when plugins were still
> distributed as zip files.)

Thanks for the explanations, that and
http://tammersaleh.com/posts/the-modern-vim-config-with-pathogen/
helped.

Well, I tried likelycomplete.

It compartmentalises the words by file type, which makes sense
for code but probably does more harm than good for what I do
(prose).

I didn't see a way to compartmentalise on another criterion. So
it's not clear how to maintain distinct dictionaries if you
write in more than one language.

likelycomplete seems to think that "" is not a real file type,
which is unfortunate as it's what I'm in half the time.

Maybe because of that, sometimes, I can't seem to get it to
work : likelycomplete#select_imap inserts itself and
:Likelycomplete gives me a bunch of error messages about empty
keys. Other times, everything just works. Yet other times,
nothing works until you call :Likelycomplete. I suspect this
inconsistency has got to do with the saving state to file. Which
I may remove anyway because I'd rather maintain word lists
centrally.

The parameters are all global but my language and abbreviations
settings are per window which makes interfacing the two
difficult.

Fuzzy matching has a perceptible delay, even with a small
dictionary (13_000 words, 100 kB)

Now I need to figure out how to adapt likelycomplete to my needs
or just rip the parts I want...

Thanks for your help.

--
André Majorel http://www.teaser.fr/~amajorel/
Subliminal message : Vim needs elastic tab stops.

--
--
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: