[Vim-latex-devel] change the figure environment
Brought to you by:
srinathava,
tmaas
From: Rudra B. <bnr...@li...> - 2014-09-24 16:15:18
|
Hi, In latex-suite, there is two shortcut for figure: let s:figure = "\\begin{figure}[<+htpb+>]\<cr>\\centering\<cr>\ \psfig{figure=<+eps file+>}\<cr>\\caption{<+caption text+>}\<cr>\ \label{" . s:labelprefix_figure . "<+label+>}\<cr>\\end{figure}" . s:end_with_cr . "<++>" let s:figure_graphicx = "\\begin{figure}[<+htpb+>]\<cr>\\centering \<cr>\\includegraphics{<+file+>}\<cr>\\caption{<+caption text+>}\<cr>\ \label{" . s:labelprefix_figure . "<+label+>}\<cr>\\end{figure}" . s:end_with_cr . "<++>" But, the shortcut EFI is only given for s:figure. can I possibly define EFI to trigger s:figure_graphicx (may be in my .vimrc?) Thanks |