Re: [Vim-latex-devel] beamer support
Brought to you by:
srinathava,
tmaas
From: Raphael C. <cer...@gm...> - 2013-06-22 13:42:13
|
Thank you all for the insight. I find the suggestions on here helpful :) On Fri, Jun 21, 2013 at 2:49 PM, Alessandro Pezzoni < ale...@la...> wrote: > On 21 June 2013 19:33, Mike Richman <ri...@um...> wrote: > > > " mappings for frame, block, and columns environments > > call IMAP ('EBFE', s:undostring."\\begin{frame}\<cr>{<++>}\<cr>" > > \ . "<++>\<cr>\\end{frame}<++>", 'tex') > > call IMAP ('EBBL', s:undostring."\\begin{block}{<++>}\<cr>" > > \ . "<++>\<cr>\\end{block}<++>", 'tex') > > call IMAP ('EBCO', s:undostring."\\begin{columns}\<cr>" > > \ . "\\column{.5\\textwidth}\<cr>" > > \ . "<++>\<cr>\\end{columns}<++>", 'tex') > > > > " this causes frames to be folded. sometimes the parsing goes poorly > > " and a bunch of extraneous folds are added, but it's still nice to > > " fully fold and unfold the frames using zC and zO. > > let Tex_FoldedEnvironments = 'verbatim,comment,frame,eq,gather,align,' > > > \.'figure,table,thebibliography,keywords,abstract,' > > \.'titlepage' > > Yes, although something like: > > let g:Tex_Env_frame = > \\begin{frame}\<cr>{<++>}\<cr><++>\<cr>\\end{frame}<++>" > call IMAP('EBFE', "\<C-r>=Tex_PutEnvironment('frame')\<cr>", 'tex') > > (and similarly for the others) feels cleaner. Just my 2c. > > Alessandro > > |