I worked exhaustively on iskeyword and then followed some advice
to set isfname. Neither of the help descriptions of these two
settings were clear descriptions of their function (to me).
It do not need syntax highlighting in my vims spawned from mutt,
but I do want email address completion!
So still, any takers?
ciao
E
>Why &isfname? Given that &dict option documentation speaks about
>"words" and "keyword characters" I guess you need &iskeyword.
>
>Note that altering this may break some syntax files. Also many syntax
>and filetype files have no idea that &iskeyword is a *user* setting
>and they should even use `:syntax iskeyword` and not `setlocal
>iskeyword=…` (added only recently!).
Eric Smith wrote on Thu-19-May 16 8:40PM
>> I don't only want to enjoy autocomplete of my contacts when in gmail, but also
>> for my mutt.
>>
>> I have a file with all my email addresses and
>> set dict=emails.txt.
>>
>> When I complete with dictionary completion (mapped to <tab>), then I only receive
>> the first part of the email addresses, like,
>>
>> foo<tab>
>> foo.bar
>>
>> How do I return
>> foo<tab>
>> foo.bar@baz.com
>>
>> And if I go.
>> <tab>
>> it expands to
>> foo.bar
>> baz
>>
>> Here are one of the many settings of isfname, that I tried, all
>> without a breakthrough;
>> set isfname=@,48-57,/,\\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,=
>>
>> what gives?
>>
>> Eric
--
Eric Smith
--
--
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.
Friday, May 20, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment