In vim, I managed to have autocompletion installing Supertab.
When I work on a .py file, it works ok: I can autocomplete xxx_yyy
by typing xxTAB
(and it pops up options if many xxx_yyy1
xxx_yyy2
exist).
But on a .tex file, if I have already the word xxx_yyy
, when I type xxTAB
I get the only match xxx
.
How can I match xxx_yyy
with xxTAB
in a .tex file too?
This is my .vimrc :
filetype plugin indent on
syntax on
set backspace=indent,eol,start
autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4
set ww=<,>,[,]