[pyar] ¿Como hacer funcionar Pydiction y SnipMate en Vim sin problemas?
Jesus Marin
jesusangelm en gmail.com
Dom Abr 24 17:54:01 ART 2011
El 24/04/11 16:02, Matias Graña escribió:
> Jesús: probaste hacer un :imap mientras editás un archivo para ver que
> hay algún mapeo asociado a TriggerSnippet() ?
> Otra cosa que podés mirar es los scripts que se cargaron, con :scriptnames.
> Yo tengo (entre otros) .vim/plugin/snipMate.vim y .vim/after/plugin/snipMate.vim
> Si no tenés alguno de esos efectivamente tu instalación goza de mala salud :)
>
> saludos,
> Matías
Hola Matias,
corriendo :scriptnames en vim (desde Gnome-Terminal) me dice:
1: /usr/share/vim/vimrc
2: /usr/share/vim/vim73/syntax/syntax.vim
3: /usr/share/vim/vim73/syntax/synload.vim
4: /usr/share/vim/vim73/syntax/syncolor.vim
5: /usr/share/vim/vim73/filetype.vim
6: /home/angel/.vim/ftdetect/ruby.vim
7: /usr/share/vim/vim73/ftdetect/cram.vim
8: /usr/share/vim/vim73/ftdetect/git.vim
9: /usr/share/vim/vim73/ftdetect/json.vim
10: /usr/share/vim/vim73/ftdetect/less.vim
11: /usr/share/vim/vim73/ftdetect/markdown.vim
12: /usr/share/vim/vim73/ftdetect/nginx.vim
13: /usr/share/vim/vim73/ftdetect/ruby.vim
14: /usr/share/vim/vim73/ftdetect/textile.vim
15: /usr/share/vim/vim73/ftplugin.vim
16: /usr/share/vim/vim73/indent.vim
17: /usr/share/vim/vim73/colors/solarized.vim
18: /home/angel/.vim/plugin/supertab.vim
19: /usr/share/vim/vim73/plugin/NERD_tree.vim
20: /usr/share/vim/vim73/plugin/color_sample_pack.vim
21: /usr/share/vim/vim73/plugin/command-t.vim
22: /usr/share/vim/vim73/plugin/getscriptPlugin.vim
23: /usr/share/vim/vim73/plugin/gzip.vim
24: /usr/share/vim/vim73/plugin/localrc.vim
25: /usr/share/vim/vim73/plugin/lusty-juggler.vim
26: /usr/share/vim/vim73/plugin/matchit.vim
27: /usr/share/vim/vim73/plugin/matchparen.vim
28: /usr/share/vim/vim73/plugin/netrwPlugin.vim
29: /usr/share/vim/vim73/plugin/pastie.vim
30: /usr/share/vim/vim73/plugin/pydoc.vim
31: /usr/share/vim/vim73/plugin/python_pydiction.vim
32: /usr/share/vim/vim73/plugin/repeat.vim
33: /usr/share/vim/vim73/plugin/rrhelper.vim
34: /usr/share/vim/vim73/plugin/scratch.vim
35: /usr/share/vim/vim73/plugin/snipMate.vim
36: /usr/share/vim/vim73/plugin/snippets.vim
37: /usr/share/vim/vim73/plugin/spellfile.vim
38: /usr/share/vim/vim73/plugin/supertab.vim
39: /usr/share/vim/vim73/plugin/surround.vim
40: /usr/share/vim/vim73/plugin/taglist.vim
41: /usr/share/vim/vim73/plugin/tar.vim
42: /usr/share/vim/vim73/plugin/tarPlugin.vim
43: /usr/share/vim/vim73/plugin/tohtml.vim
44: /usr/share/vim/vim73/plugin/vimballPlugin.vim
45: /usr/share/vim/vim73/plugin/zip.vim
46: /usr/share/vim/vim73/autoload/zip.vim
47: /usr/share/vim/vim73/plugin/zipPlugin.vim
48: /usr/share/vim/vim73/nerdtree_plugin/exec_menuitem.vim
49: /usr/share/vim/vim73/nerdtree_plugin/fs_menu.vim
Curiosamente me cargan mas script con gvim que con vim...
haciendo un :imap me sale:
! <F7> *@:call Pyflakes()<CR>
! <F6> *@<Esc>:call Pep8()<CR>
i <S-Tab>
*@<C-R>=<SNR>31_SetVals()<CR><C-R>=<SNR>31_TabComplete('up')<CR><C-R>=<SNR>31_RestoreVals()<CR>
i <Tab>
*@<C-R>=<SNR>31_SetVals()<CR><C-R>=<SNR>31_TabComplete('down')<CR><C-R>=<SNR>31_RestoreVals()<CR>
i <Plug>ISurround * <C-R>=<SNR>39_insert(1)<CR>
i <Plug>Isurround * <C-R>=<SNR>39_insert()<CR>
i <S-Tab> <Plug>SuperTabBackward
i <Plug>SuperTabBackward & <C-R>=<SNR>38_SuperTab('p')<CR>
i <Plug>SuperTabForward & <C-R>=<SNR>38_SuperTab('n')<CR>
i <C-Tab> * <Tab>
i <C-G>S <Plug>ISurround
i <C-G>s <Plug>Isurround
i <Tab> <Plug>SuperTabForward
i <CR> &
<C-R>=<SNR>38_SelectCompletion(0)<CR><C-R>=<SNR>18_SelectCompletion(1)<CR>
i <C-N> <C-R>=<SNR>38_ForwardBack("n", "<Plug>SuperTabForward")<CR>
i <C-P> <C-R>=<SNR>38_ForwardBack("p",
"<Plug>SuperTabBackward")<CR>
i <C-S> <Plug>Isurround
i <C-X> <C-R>=<SNR>38_ManualCompletionEnter()<CR>
tengo instalados los plugins /usr/share/vim/vim73/plugin/snipMate.vim y
/usr/share/vim/vim73/after/plugin/snipMate.vim
ni en Vim ni Gvim el comando :scriptnames me muestra algun plugins
cargado proveniente de vim/after/plugins/ ... imagino que alli radicara
el problema... no se carga el archivo que tiene la configuracion de
tecla ni de SnipMate ni de Pydiction ya que ambos se configuran editando
archivo dentro de esa carpeta....
--
...::: *Jesus Marin* :::...
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20110424/3afd2cc1/attachment.html>
More information about the pyar
mailing list