LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Toby Corkindale <tjcorkin@sa.pracom.com.au>
To : David Lloyd <lloy0076@rebel.net.au>
Date: Thu, 31 May 2001 09:29:40 +0930 (CST)
Re: Bash and Vi Mode
"if" is a conditional, not a set...
it won't change the value of mode, it just decides whether to execute the
following branch of code based on the existing value of 'mode'
RTFM bash(1) - its worth it, you'll understand how the keymapping works
TC
On Wed, 30 May 2001, David Lloyd wrote:
>
> Anthony and Tony!
>
> > Ahh Im told that it should actually be in .inputrc and that some distros
> > set it to emacs in .inputrc so that if you put it in .bashrc it may not
> > work as it gets set back from .inputrc.
>
> Hmmm....
>
> [root]# set -o vi
>
> Did work. I couldn't have been pressing enough [esc] so I could test
> command mode out. However, I have found:
>
> [root]# cat /etc/inputrc | grep emacs
> $if mode=emacs
>
> Which I suspect is putting me into emacs mode (1).
>
> DSL
>
> (1)
> uuugh
>
>
--
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