tags:

views:

91

answers:

1

When I type a command in Vim, for example opening a file, I start to type the file name, and I want to press Tab and have Vim autocomplete the name. However, when I press Tab, vim puts in ^I for some reason.

How can I make Vim tab complete?

+3  A: 

See :h cmdline-completion.

The 'wildchar' option defaults to <Tab> (CTRL-E when in Vi compatible mode; in a previous version <Esc> was used).

If you want autocomplete to work with Tab, you can set nocompatible in your vimrc.

eugene y