In OS X, install newer version of nano: $ brew install nano Then: $ git clone https://github.com/scopatz/nanorc.git ~/.nano $ cat ~/.nano/nanorc >> ~/.nanorc