LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Anthony Symons <ant@sa.pracom.com.au>
  To  : David Lloyd <lloy0076@rebel.net.au>
  Date: Wed, 30 May 2001 09:39:25 +0930

Re: Bash and Vi Mode

You'll find the command you need is:

set -o vi

(funny that :)

Just put it in your bash profile.

Ant

David Lloyd wrote:
> 
> Under the default shell that one gets (as a user) in FreeBSD 4.2 one can
> do:
> 
> % set -o vi
> 
> And you get a vi emulation mode (where $ takes you to the end of the
> line, you have command modes and such). Is there any way to convince the
> default shell (bash) in Linux (specifically RH 7.1) to do the same
> thing?
> 
> DSL
> 
> --
> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject

-- 
Systems Administrator       
Pracom Ltd.             
+61 8 82029074 -=- +61 402 100 671 
anthony.symons@sa.pracom.com.au

PRIVILEGED - PRIVATE AND CONFIDENTIAL
This electronic mail is solely for the use of the addressee and may
contain information which is confidential or privileged.
If you receive this electronic mail in error, please delete it from
your system immediately and notify the sender by electronic mail or
using any of the above contact details.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page