I am using Vim 7.4 and I wish to map the tab key so I can use new combinations to autocomplete arguments in command mode from the current directory
Contents of current directory:
Funwithstrings.cs Funwithstrings.exe Funwithstrings.cs~
Using vim in this directory : I am using following mapping in vim
:map! as <tab>
Now upon trying this in command mode in the manner
:e Fuas.
I get
:e Fu^I
I.e., ^I
two characters instead of special character <tab>
instead of one of the filenames-- expected results with tab key.
In a different computer I get :e Fu<Tab>
- 5 characters.
What am I doing wrong? I am using screen 256 terminal.
'wildcharm'
option for that. Ah, it is already mentioned in the answer