4 ms·
Now we just need something like this for Vim. I don't know why, but iTerm 2 + Vim is very slow for me. Holding "j" or "Ctrl + Y" for instance is jerky and slo
by Xcelerate 10y ago
Now we just need something like this for Vim. I don't know why, but iTerm 2 + Vim is very slow for me. Holding "j" or "Ctrl + Y" for instance is jerky and slow. Maybe it's just my computer and no one else has this problem, but it's a relatively recent MacBook Pro. I've checked all my settings in .vimrc and Googled the problem, but I can't seem to figure out what is making it so slow.
- godd2 10y agoWhat plugins do you have installed? If you run `vim -u NONE` and then open a file, is it still slow when you hold j?
- Xcelerate 10y agoYep, it's still slow/jerky (although it does seem that disabling relativenumber helps a little bit). I have no idea what the problem is. It could be that I expect perfectly smooth cursor movement, and I'm just not getting that for some reason.
- deleted 10y ago[deleted]
- palunon 10y agoDid you try using `:set ttyfast` ?
- godd2 10y agoYou say "smooth cursor movement". Can you elaborate? What exactly is "slow"? When the screen is scrolling? When the cursor is moving? Spacebar will move the cursor one character forward in normal mode, and follow newlines. If it is the cursor, is it just as choppy if you hold the spacebar?
- maxtudof 10y agoTry running this and restart your mac: defaults write NSGlobalDomain KeyRepeat -int 1 defaults write NSGlobalDomain InitialKeyRepeat -int 10 It will setup blazing fast keyboard repeat rate. I also use this in my .vimrc for even smoother ride: set scrolloff=999 set scrolljump=-100
- pmoriarty 10y agoTry the same thing in gvim, and in another terminal (like OSX's Terminal.app).
- typon 10y agoYea, it's called Neovim :D
- spacehacker 10y agoTry Spacemacs. It gives you VIM in Emacs.
- joeevans1000 10y agoSo do viper or evil modes. Right in a terminal version, too, if that's your thing.
- iLemming 10y agoSpacemacs is not just a mode or a bunch of modes. Building decent evil-based config is not easy and may take years. Every Vimmer I believe should at least try Spacemacs.
- sooheon 10y agoSpacemacs is essentially a bunch of config files for evil, btw. I don't know why people mistake it as an entirely other editor.
- Flow 10y agoIn El Capitan I noticed a sluggishness running Emacs in iTerm2, but not in Terminal.app. I think the new iTerm2(3?) is quite a bit faster, but you probably use that already. Try Terminal.app and see if you notice a difference.
- drifkin 10y agoTry using MacVim, it performs much better than using vim with any terminal emulator in OS X.