Something funny is going on with my vim
. I'm using it through xterm
. I want to be able to autocomplete filenames that I try to open.
For example:
# Cursor is | character
:o exam|
:o exam|<TAB>
:o examplefile.txt|
I was sure vim
supported this, but it's not working for me. When I hit <TAB>
an ^I
character is inserted instead of completing the filename:
:o exam|<TAB>
:o exam^I|
:o exam^I|<TAB>
:o exam^I^I|
However, <TAB>
works fine in bash
in xterm
- it correctly completes filenames and doesn't expand to ^I
.
Is my terminal configured incorrectly? Do I need some stty
voodoo? Or is it something else entirely?
Edit
:e
does work for me - seems like only :o
doesn't...