The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 08-26-2008
buffoonix buffoonix is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 145
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.