load VikiMInorMode automatically?

Viki
Anonymous
2012-07-17
2013-04-17

  • Anonymous
    2012-07-17

    Hi!

    I would like to load VikiMInorMode automatically: I'm fine with this always being on but in particular i'd like to use it in combination with ATP, the latex plugin of my choice.
    I tried putting

    call viki#VikiMinorMode()

    into a newly created ~/.vim/after/ftplugin/tex_atp.vim but now i see the following error flashing up when i start vim on a .tex file:

    "main.tex" 45L, 1115C
    Error detected while processing /home/pazz/.vim/after/ftplugin/tex_atp.vim:
    line    1:
    E117: Unknown function: viki#VikiMinorMode

    any suggestions?
    Thanks!
    "main.tex" 45L, 1115C
    Error detected while processing /home/pazz/.vim/after/ftplugin/tex_atp.vim:
    line    1:
    E117: Unknown function: viki#VikiMinorMode

     
  • Tom Link
    Tom Link
    2012-07-17

    The viki#VikiMinorMode() function has gone. You should use the :VikiMinorMode command. I'll re-add the viki#VikiMinorMode() function in the next release.

    HTH

     

  • Anonymous
    2012-07-24

    Thanks!
    I got it working by adding this to my vimrc:

    autocmd VimEnter * VikiMinorMode