Re: [Vim-latex-devel] Add a placeholder in my keymap
Brought to you by:
srinathava,
tmaas
|
From: Bodo G. <ma...@bo...> - 2013-02-10 09:57:00
|
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 <rud...@ao...>:
| 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...@li...
| https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
|
|