It's not to set
vi as your editor.
You would signal this to some programs by setting the environment variables
Code:
export EDITOR=vi VISUAL=vi
It rather tells your shell to behave as far as key mappings and shell history are concerned like the editor
vi.
But why don't you simply consult your shell's manpage?
e.g. excerpt from my Bash manpage
Quote:
|
Originally Posted by man bash
vi Use a vi-style command line editing interface.
|