Re: [Vim-latex-devel] beamer support
Brought to you by:
srinathava,
tmaas
|
From: Mike R. <ri...@um...> - 2013-06-21 17:34:29
|
Hi Raphael,
vim-latex doesn't have any extra support for beamer, but I've added
the following mappings and customizations in ~/.vim/ftplugin/tex.vim
to help with it:
" 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'
Hope this is useful!
Cheers,
Mike
On Fri, Jun 21, 2013 at 7:55 AM, Rudra Banerjee
<rud...@ao...> wrote:
> In support, if you mean, if it has any beamer template or key bindings
> for frame, frametitle etc. then it does not. You have to do it in
> generic way.
> But yes, I use it without problem.
>
> On Thu, 2013-06-20 at 22:26 -0400, Raphael Cervantes wrote:
>> Hi guys,
>>
>> Does vim-latex have support for beamer? I searched but couldn't find
>> any.
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Vim-latex-devel mailing list
>> Vim...@li...
>> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Vim-latex-devel mailing list
> Vim...@li...
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
|