With VIM, use both snipMate and pydiction together (share the <tab> key?)

Posted by thornomad on Stack Overflow See other posts from Stack Overflow or by thornomad
Published on 2009-11-06T12:25:04Z Indexed on 2010/03/31 8:43 UTC
Read the original article Hit count: 350

Filed under:
|
|

I am trying to use snipMate and pydiction in vim together - however, both use the <tab> key to perform their genius-auto-completion-snippet-rendering-goodness-that-I-so-desire.

When pydiction is installed, snipMate stops working. I assume its because they can't both own the <tab> key. How can I get them to work together?

I wouldn't mind mapping one of them to a different key, but I am not really sure how to do this ... (maybe pydiction to the <ctrl-n> key so it mimics vim's autocomplete?).

Here is the relevant .vimrc:

filetype indent plugin on 

autocmd FileType python set ft=python.django 
autocmd FileType html set ft=html.django_template 

let g:pydiction_location = '~/.vim/ftplugin/pydiction-1.2/complete-dict'

© Stack Overflow or respective owner

Related posts about vim

Related posts about autocomplete