Closed GoogleCodeExporter closed 9 years ago
I tend to believe this is no bug, because I believe this is documented at :h
c_CTRL-I
If you want it to work. set the wildcharm option to <Tab>:
:set wildcharm=<Tab>
For further refining, you need to set the 'wildmode' option, I think :set
wildmode=list:longest
does what <Tab> does per default in the command line mode
Original comment by chrisbr...@googlemail.com
on 1 Jan 2015 at 12:29
You mean it's documented if we read 'inside a macro' as 'inside macros,
mappings, and abbreviations'?
I find it hard to understand why these mappings should be treated
differently, or why some special setup is necessary to make it work.
Original comment by 676c7...@gmail.com
on 1 Jan 2015 at 1:15
I agree with Christian's answer. Yes, macros include mappings and abbreviations
(think of them as more persistent special cases).
The reason for the 'wildcharm` option is that usually you want literal
insertion of <Tab>, as the completion heavily depends on current context (i.e.
the matches are erratic), so it's unwise to rely on completion in a macro.
Original comment by sw...@ingo-karkat.de
on 1 Jan 2015 at 2:16
Original issue reported on code.google.com by
676c7...@gmail.com
on 1 Jan 2015 at 9:44