Monday, January 4, 2010

Re: Txtfmt-plugin and txtfmtBgColor

On Jan 4, 11:29 am, Michael Maurer <salogynso...@gmail.com> wrote:
> On Mon, Jan 4, 2010 at 2:42 PM, Stahlman Family
>
>

... snip...

>
> > One final note: for performance reasons, I would recommend activating
> > only the colors you plan to use. If you decide later that you want more,
> > you can always activate them at that time without adversely affecting an
> > existing file. As explained in the help, the number of colors activated
> > has a significant impact on the number of syntax regions created, which
> > in turn impacts the speed of syntax highlighting redraw...
>
> > :help txtfmt-performance-considerations
>
> Thanks Brett, works like a charm. I turned off some colors and I think
> I notice a slight decrease in start-up time. Great 2.0, by the way!

Michael,
Excellent! Glad to hear it. I appreciate the positive feedback.

A lot of users could probably benefit from disabling a few rarely-used
colors. White and black, for instance, are probably not very useful
with the default colorscheme on a white background: the former because
it doesn't show up well, the latter because it's redundant with the
default text color. Alternatively, the user who finds that the default
color definitions are sub-optimal for his chosen colorscheme can
always use the txtfmtColor{} and txtfmtBgcolor{} arrays to redefine
any or all of the 8 available colors. The color definition syntax
permits the colors to be defined differently for cterm and gui.

:help txtfmtColor{}
:help txtfmtBgcolor{}
:help txtfmt-color-config

For users who routinely use several different colorschemes and want to
optimize their Txtfmt color definitions for each, I outline a strategy
in the help file whereby the color configuration options can be set
automatically as a function of the colorscheme in effect when a Txtfmt
buffer is loaded.

:help txtfmt-colorschemes

I'm glad you like 2.0. I'm currently working on what will most likely
be released as 3.0. The main feature it adds is visual maps to
facilitate adding and removing tokens for the visually selected
region.

Please don't hesitate to ask any more questions you may have...

Thanks,
Brett Stahlman

>
> Cheers,
> Michael- Hide quoted text -
>
> - Show quoted text -

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

No comments:

Post a Comment