linux:ubuntu_vi_as_default_editor
Ubuntu Use Vi As Default Editor
Edit .bashrc for root or .profile for other users and insert the line below.
export EDITOR=vi
Note: Alternative way to do this is to set it globally as an environment variable.
linux/ubuntu_vi_as_default_editor.txt · Last modified: 24/11/2023 12:16 by Allan