vim is very slow on my Mac

9,037

Solution 1

For me, deleting .viminfo helped.

Solution 2

Try MacVim. There is also a 64 bit version available somewhere on the blog, which includes a new rendering layer.

Solution 3

Maybe you have installed some broken plugins or something like that. Try to temporary rename directory with vim configs:

mv ~/.vim ~/.vim.backup

And/or main config file: mv ~/.vimrc ~/.vimrc.backup

And try to use vim without configs

Solution 4

I had this problem (just painfully slow) and it ended up being the Consolas font I was using in Terminal.App and ITerm Switching to Monaco in my case sped things up considerably

Solution 5

I regularly have problems, a few commands are just slow at redrawing. This is a shot in the dark but if you are using cursorline, try disabling it, it dramatically improved performance for me

Share:
9,037
juanpablo
Author by

juanpablo

Updated on September 17, 2022

Comments

  • juanpablo
    juanpablo over 1 year

    I use vim on Mac OS X, but this is realy slow in Terminal.app and iTerm.

    Progress over many lines becomes tedious.

    some idea of solution?

    • Doug Harris
      Doug Harris about 14 years
      Need more details. Are other commands slow? Does ps/top or ActivityMonitor show lots of CPU usage by other processes? Are you editing a very large file?
    • juanpablo
      juanpablo about 14 years
      I only see vim slow. When I try down the cursor through of many lines, the processor monitor show many activity. No very long files, approxemately 200 lines.
    • Chris Page
      Chris Page almost 12 years
      Is this only a problem with auto-repeat, or is Vim sluggish when you enter text or navigate up/down with individual key presses? Have you checked your key auto-repeat rate in System Preferences?
    • jsageryd
      jsageryd about 11 years
      I experienced the same thing and this solved it for me: superuser.com/a/513526/223984
  • juanpablo
    juanpablo about 14 years
    I try with a empty .vimrc file, but nothing is better
  • juanpablo
    juanpablo over 13 years
    my only solution xterm
  • SWETA SWAIN
    SWETA SWAIN almost 13 years
    not the issue for me.
  • Tim Visee
    Tim Visee over 6 years
    Although this did make it slightly faster, it does not become nearly as fast as the same Vim configuration on a Linux machine without even deleting this file.