My favorite editor is Vi. I prefer to put this in /etc/profile.d/custom.sh and distribute it to all hosts.
But you can put it in /etc/bashrc or ~/.bashrc if you prefer.
export EDITOR=vi
alias vi=vim
set -o vi
My favorite editor is Vi. I prefer to put this in /etc/profile.d/custom.sh and distribute it to all hosts.
But you can put it in /etc/bashrc or ~/.bashrc if you prefer.
export EDITOR=vi
alias vi=vim
set -o vi