RE: [Vim-latex-devel] environments
Brought to you by:
srinathava,
tmaas
From: Baris E. <be...@an...> - 2005-12-23 07:32:28
|
Dear Javier >create (or modify) the file ~/.vim/ftplugin/tex.vim, under the directory you wrote above I don't have tex.vim file but rather I have two files bib_latexSuite.vim, tex_latexSuite.vim and two directories latex-suite and tex. The file tex.vim is under /compiler and /indent directories. /compiler/tex.vim is about the \ll \lv and such commands and /indent/tex.vim is about indentation. So am I missing something? I will read all the available help and check all the files under ./vim but in the meantime it would be great to have a little help to speed things up. best wishes Baris >and put a line (don't >split it like my email client does) like this on it > >let >Tex_Env_{'figure'}="\\begin{figure[htbp]\\centering\<CR>\\includegraphics[w >idth=<++>] >{<++>}\<CR>\\caption{<+caption+>}\\label{fig:<+label+>}\<CR>\\end{figure}\< >CR><++>" > >the stuff between double quotes is the way you'll redefine the environment, >in >this case figure, in yours, equation. Don't forget the scape backslash. You >can define too new environments this way, and get the expansion with the ><F5> >key > >All this I've explained is in the docs of vim-latex, although, in my >opinion, >a bit not so well presented, because you sort of know what to write but >don't >where to put it. Read the docs, > >Greets >-- >Javier > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Vim-latex-devel mailing list >Vim...@li... >https://lists.sourceforge.net/lists/listinfo/vim-latex-devel |