Raúl Núñez de Arenas Coronado wrote:

>> hmm.. esperantista?
> 
> Trying to ;)

Interesting in this day and age, with the English language having become 
the de facto "lingua franca". :-)

[..]

>>> My policy, which may be utterly wrong, is to put them in my ~/.vimrc

[..]

> The problem is that it doesn't scale well. If you write a lot of
> *generic* functions, not applicable to any particular filetype, your
> best bet is probably to put them in autoload plugins or something along
> these lines.

I looked at that, but it didn't look like something you can just jump into.

>> I guess one-liners could go into one's .vimrc, but anything much
>> bigger like 20-30 lines chunks would soon become unmanageable.
> 
> Yes, that's another point. My functions (the generic ones, at least) are
> pretty short, maybe 10 lines maximum, so they don't clutter my ~/.vimrc,
> but if you have maybe 10 functions with let's say... 25 lines each,
> that's *a lot* of clutter. In that case, although the number of
> functions is pretty low, I would put them in separate files and I would
> source them (or use the autoload plugin solution, which looks a bit
> overkill to me, but then again I haven't had startup speed problems with
> Vim yet).

Sounds like the easiest would be to create a ~/.vim/functions and 
sourcing that.

[/OT]

>> P.S. [OT] What mailer do you use? Your signature comes out a different
>> color, not that I mind.. just curious how it's done your end.
> 
> My mailer is GMail directly. 

Thought it might be - didn't see any "User-agent" mentioned in your 
message headers - and the reason I asked is that I have seen quite a few 
people on different mailing lists who use gmail as an excuse to format 
their posts in a way that doesn't abide by the lists' policies. So it 
looks like you can also abuse lowly gmail.

> I edit my email with Vim using a Firefox
> extension because I can't stand the GMail builtin editor (it is
> rich-text or whatever) or the Firefox editor for textboxes (which is way
> too simple). So, my email should be in plain text, with no coloring set
> up in my side.

Hmm.. wonder if the extension would work with seamonkey-mail, ~= T-Bird.

> But, whenever I edit email with Vim (this one, for example), my
> signature appears in a different color because the syntax highlighting,
> and some MUAs (mutt, Claws if I recall correctly, maybe others) color
> signatures differently if they detect the magic "-- " at the start of a
> line. 

That's what prompted me to investigate: I couldn't remember having set 
any highlighting for signatures, doubled checked and still I don't see 
anything. It actually "disappears" when composing a reply.. I'm looking 
at the bottom of this message and it's gone.

So what if I found your signature more interesting than your post and 
wanted to comment on it..??  ;-)

[OT/]

Now that I have run out, I'll wait for Xmas and see if Santa brings me a 
few "OT" credits for the coming year.

Gen-Paul.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to