Difference between revisions of "Gentoo vim default editor"

From thelinuxwiki
Jump to: navigation, search
(Pushed from Themanclub.)
 

Latest revision as of 01:38, 26 February 2013

How to replace nano with vim as the default editor. Used by crontab and other things too.

vi /etc/profile
export EDITOR=${EDITOR:-/usr/bin/vim}