Is <Tab>
somehow using <C-h>
? If I try to map <C-h>
to something (specifically with imap
), it works, but the tab key starts acting up in julia-vim
(but nowhere else). As an example, I'll start out with a .vimrc
with just the minimal Vundle setup for including julia-vim
, and no other mappings or code.
Then I add the following (before the Vundle block):
Starting vim with this .vimrc
, if I edit a non-Julia file, pressing <Tab>
(in insert mode) will insert a tab, and pressing <C-h>
will insert Hello, world!
.
If I edit a Julia file, <C-h>
also does its job, but pressing <Tab>
will now insert:
where there is a tab character after Hello, world!
. If I start the line with, say, \alph
and then press tab, I get the completion:
I press it again, and get:
This time without a tab at the end.
The <91>
is a Unicode "PRIVATE USE ONE".
It seems to me that this behavior is a bug, and that it is a bug in julia-vim
– but I may very well be mistaken…