Ensure that vim is called as "vi", not "vim" (this would be in your aliases)
(removes colour ls to avoid eye cancer and ensures that vim knows you called "vi" instead of "vim"
set -o vi
export EDITOR=nvi # or 'vi' - whatever you got
Powered by Atlassian Confluence
and Zen Foundation