Wednesday, March 26, 2014

Extremely slow when using relativenumber & syntax highlighting

Whenever I have relative line number on (relativenumber), and syntax highlighting enabled (syntax on), moving the cursor is painfully slow. Not only moving between lines, but just moving the cursor left/right on the same line.

I've tried removing my local .vim & .vimrc files as well as the ones in /etc to have a completely default config. As soon as I `syntax on` and `set rnu`, it starts exhibiting the issue.

It doesn't seem to do this on all files though, just most. As a reliable way to duplicate the issue, I can copy the http://yaml.org web page content into a .yaml file, and edit that.
But I get it in multiple languages, perl, yaml, ruby, & other.


Version 7.4 with patches 1-193 (though I've had this behavior for years with older versions).

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment