Favorit editor need to be default

A long time ago, when I start to use my first FreeBSD workstation I used ee as simple editor (it is simple and very useful), after ee I use vi it take a lot more time to understand "how" and "why" it works, but... I don't stop it use.

Only one thing stop me to use vi as default environment for PHP based projects - miss XDebug support.
So, at moment at all my servers I use vi as default editor, sometime I have not root privileges and use next lines in .bash_profile

EDITOR=vi
export EDITOR
alias editor=$EDITOR

Trackback URL for this post:

https://www.kalexandr.com/trackback/14
Links: