Я пытаюсь использовать snipMate и pydiction в vim вместе - однако оба используют ключ <tab>
, чтобы выполнить их genius-auto-completion-snippet-rendering-goodness-that-I-so-desire.
Когда pydiction установлен, snipMate перестает работать. Я предполагаю, потому что они не могут владеть ключом <tab>
. Как я могу заставить их работать вместе?
Я бы не пропустил отображение одного из них на другой ключ, но я не уверен, как это сделать... (может быть, pydiction к ключу <ctrl-n>
, чтобы он имитировал автозаполнение vim?).
Вот соответствующий .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'