Vim 7.4 hybrid line numbers not working (installed via Homebrew) I recently discovered that Vim 7.4 enables a hybrid number mode, such that if you do set nu and set rnu, you'll see the absolute line number of the current line and relative line numbers everywhere else (see here and here). I set this up on a Linux machine and it works great. Unfortunately it's not working on my Mac (El Capitan). If I type :set rnu I'll get relative numbers with 0 at the cursor line, and if I then type :set nu it will switch to only absolute line numbers, unlike what I see on the Linux machine. I have Vim 7.4 installed via Homebrew. How do I get this to work? Do I need to reinstall with some particular setting?
It turns out the problem was not with Vim 7.4, Homebrew, Macs, or any combination of the 3. Just my brain. I was used to vi pointing to the vim that I want, but in my case vim points to the Homebrewed version and vi points to the version originally on my Mac, which was Vim 7.3. I usually use vi and vim interchangeably and that shot me in the foot here. I have vi aliased to the Homebrewed Vim now and everything is dandy.