Loading ...
Sorry, an error occurred while loading the content.

13729Re: Macvim slow with "set list" and Unicode listchars

Expand Messages
  • björn
    Jun 9, 2013
    • 0 Attachment
      On Wed, Mar 13, 2013 at 11:16 PM, Kevin Burke wrote:
      > I've been investigating a problem with Unicode listchars.
      >
      > My .vimrc looks like:
      >
      > "" show line endings
      > set list
      > set listchars=tab:▸\ ,eol:¬
      >
      > When I open a file containing many tab characters, Macvim is extremely slow to scroll - holding down "j" yields a key repeat rate of about once per second.
      >
      > If I turn off list:
      >
      > set nolist
      >
      > Or, use a different tab listchar:
      >
      > set listchars=tab:+\ ,eol
      >
      > Scrolling suddenly becomes very fast.

      I have pushed a fix for this now. It was caused by a font lookup API
      call which for some reason is super-slow on Mountain Lion whereas on
      Snow Leopard it was fast. (That is also why I couldn't reproduce to
      begin with.)

      Björn

      --
      --
      You received this message from the "vim_mac" 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_mac" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 5 messages in this topic