User Tools

Site Tools


commandline:ubuntu_vi_as_default_editor

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.

commandline/ubuntu_vi_as_default_editor.txt · Last modified: by Allan