Quote:>Hi,
>I really need to get this..... I am not able to get this to work..
>I am a pro vi editor guy....
>so i used "set -o vi" to set my editor to vi (I use ksh)
>also in my .profile i have export EDITOR=vi
>but.... the filename completion feature is the one I want with vi as my
>working editor..
>can anyone help??
With ksh in "vi" mode, the character sequence for filename
completion is:
ESC \
(escape backslash)
For example, if you only have one file in the current directory
that begins with "B" and you type the three characters
B ESC \
then ksh completes the filename for you. But if you have the
two files "Butch" and "Butter" and you do the same, then ksh
only completes as far as "But" and you need to type "c" or "t"
to disambiguate and then you can type ESC \ again to have ksh
finish the rest.
In other words, ESC \ does not cycle through the possibilities.
It only completes to the first point where two filenames diverge.
--
University of *ia ITC Unix Support