News for hackers. Stuff that matters.
Re:Buttery Smooth Emacs by Xcelerate on Sunday October 30, 2016 @12:37PM (#12830688)
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.
Re:Buttery Smooth Emacs by maxtudof on Sunday October 30, 2016 @12:51PM (#12830772)
Try 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

Re:Buttery Smooth Emacs by Flow on Sunday October 30, 2016 @02:07PM (#12831240)
In 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.

Re:Buttery Smooth Emacs by spacehacker on Sunday October 30, 2016 @01:45PM (#12831097)
Try Spacemacs. It gives you VIM in Emacs.
Re:Buttery Smooth Emacs by joeevans1000 on Sunday October 30, 2016 @02:11PM (#12831258)
So do viper or evil modes. Right in a terminal version, too, if that's your thing.
Re:Buttery Smooth Emacs by iLemming on Monday October 31, 2016 @12:04AM (#12834229)
Spacemacs 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.
Re:Buttery Smooth Emacs by sooheon on Monday October 31, 2016 @02:19AM (#12834645)
Spacemacs is essentially a bunch of config files for evil, btw. I don't know why people mistake it as an entirely other editor.
Re:Buttery Smooth Emacs by godd2 on Sunday October 30, 2016 @12:42PM (#12830720)
What plugins do you have installed?

If you run `vim -u NONE` and then open a file, is it still slow when you hold j?

Re:Buttery Smooth Emacs by Xcelerate on Sunday October 30, 2016 @12:43PM (#12830728)
Yep, 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.
Re:Buttery Smooth Emacs by godd2 on Sunday October 30, 2016 @04:11PM (#12831962)
You 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?
Re:Buttery Smooth Emacs by palunon on Sunday October 30, 2016 @03:41PM (#12831798)
Did you try using `:set ttyfast` ?
Re:Buttery Smooth Emacs by drifkin on Sunday October 30, 2016 @03:23PM (#12831700)
Try using MacVim, it performs much better than using vim with any terminal emulator in OS X.
Re:Buttery Smooth Emacs by pmoriarty on Sunday October 30, 2016 @12:58PM (#12830812)
Try the same thing in gvim, and in another terminal (like OSX's Terminal.app).
Re:Buttery Smooth Emacs by typon on Sunday October 30, 2016 @01:16PM (#12830932)
Yea, it's called Neovim :D