Why don’t you use

call IMAP('FRM', "\\begin{frame}^M\frametitle{<++>}^M<++>^M\\end{frame}<++>", 
'tex')

possibly into ~/.vim/after/ftplugin/tex/latex_suite.vim

Am Sun, 10 Feb 2013 09:39:16 +0000
schrieb Rudra Banerjee <rudra.baner...@aol.co.uk>:

| Dear friends,
| I have added this keymap in my vimrc:
| nmap <C-F12> :call Insrt_frame()
| function! Insrt_frame()
|   :put='\begin{frame}'
|   :put='\frametitle{<++>}'
|   :put=''
|   :put='\end{frame}'
| endfunction
| 
| I am trying to put the cursor on the \frametitle.
| How can I achieve this?
| 
| 
| ------------------------------------------------------------------------------
| Free Next-Gen Firewall Hardware Offer
| Buy your Sophos next-gen firewall before the end March 2013 
| and get the hardware for free! Learn more.
| http://p.sf.net/sfu/sophos-d2d-feb
| _______________________________________________
| Vim-latex-devel mailing list
| Vim-latex-devel@lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
| 

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to