Subject: Re: (n)vi tab-completion?
To: Timothy A. Musson <timothy.musson@zin-tech.com>
From: Luke Mewburn <lukem@netbsd.org>
List: netbsd-help
Date: 05/03/2003 09:13:16
On Fri, May 02, 2003 at 10:51:23AM -0400, Timothy A. Musson wrote:
| At 06:05 AM 5/2/03 , Luke Mewburn wrote:
| >On Thu, May 01, 2003 at 04:51:51PM +0200, Peter Bex wrote:
| > | I was browsing the (n)vi man page and found the filec option. Is
| > | there any way to get the tab key to function as the file completion
| > | char, like in my current shell?
| >
| >Use
| > set filec=\<TAB>
| >where "<TAB>" is a literal tab character
| >
| >(For some reason, using ^V instead of \ doesn't work for me)
| >
|
| Are you saying it didn't work when you put it in your config file? If so,
| try ^V^V^V<TAB>, so that in the file there is a ^V char and a <TAB> char,
| not just the <TAB>.
Actually, IIRC, I couldn't get vi do DTRT when I used this as a direct
command (versus just adding it to .exrc), whereas \ works in both cases.