vim is very slow on my Mac
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
juanpablo
Updated on September 17, 2022Comments
-
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 about 14 yearsNeed 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 about 14 yearsI 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 almost 12 yearsIs 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 about 11 yearsI experienced the same thing and this solved it for me: superuser.com/a/513526/223984
-
-
juanpablo about 14 yearsI try with a empty .vimrc file, but nothing is better
-
juanpablo over 13 yearsmy only solution xterm
-
SWETA SWAIN almost 13 yearsnot the issue for me.
-
Tim Visee over 6 yearsAlthough 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.