Hi,

While I don't know if this speeds up rendering at all, I've found that
having this in my .[g]vimrc::

    " Only use cursor line in active window
    set cursorline
    autocmd WinEnter * set cursorline
    autocmd WinLeave * set nocursorline

has generally felt more usable than always having cursorline turned on
(since I mainly use it as an explicit visual cue of "where I am").
FWIW.

Best regards,
Niklas


On Mon, Mar 23, 2009 at 7:29 PM, Matt Tolton <[email protected]> wrote:
>
> Is there any way to make the cursorline drawing faster?  This causes
> issues for me.  :(
>
> On Wed, Feb 4, 2009 at 10:50 PM, Nico Weber <[email protected]> wrote:
>>
>> Hi,
>>
>> I started profiling MacVim's drawing/regex code. I made the
>> interesting discovery that 'cursorline' can have a large impact on
>> drawing time. So if MacVim's draws very slowly for you, `:set
>> nocursorline` might make it faster for you for now. That's probably a
>> better workaround than a full `:syntax off`.
>>
>> Hope this helps someone,
>> Nico
>>
>> >
>>
>
> >
>

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

Reply via email to