[Vim-latex-devel] Re: bracket macros?
Brought to you by:
srinathava,
tmaas
|
From: Hermitte L. <her...@fr...> - 2002-11-09 01:08:09
|
* On Fri, Nov 08, 2002 at 09:53:51AM -0800, Srinath Avadhanula <sr...@fa...> wrote:
> We have to consolidate the latex-suite structure somewhat so that from
> next time on, adding such contributions becomes seamless (plugins for
> latex-suite?)
> In the meanwhile, I will add the bracketing things manually when I
> next get around to it (unless someone volunteers to do it).
My biaised opinion is to use common_brackets.vim also.
http://hermitte.free.fr/vim/settings.php3#common_brackets_vim
pro:
* the work is already there
* it is independant of any filetype
* heavily configurable
* I will continue to maintain and support it as a core part of all my
ftplugins
* a little documentation already exists.
cons:
* it is complex and may need to rewrite/delete some parts from vim-latex
(only if '{' inserts '}«»', '[' -> ']«»' and may be '(' -> ')«»')
* it requires other plugins having a minor incompatibility with imap.vim
(the name of the options for the open and close markers)
BTW, pro: the marker system I propose is more advanced (in term of
available options, features and complexity) than the variation of
Gergely's function you include.
* did I said it is a big and quite complex piece.
Last point for tonight (may things to say about templates this weekend),
I prefer having thematic scripts. When something can be done as a plugin
only, it should be so. It helps to define more scalable systems and it
helps the maintenance.
> PS: Hey Luc! Welcome to the group!
:-)) Thanks.
Have a nice week-end.
--
Luc Hermitte
|