On 15:29 Fri 08 Feb , Rudra Banerjee wrote:
> So, now it looks like
> map <F12> :execute Insrt_frame()
> function! Insrt_frame()
> :0put='\begin{frame}'
> :put='\frametitle{Motivation}'
> endfunction
>
> and still not working.
Functions should be called not executed:
map <f12> :call Insrt_fram()
the :execute is to execute a string as an Ex command, for example to do
what you want with execute would look like:
:map <f12> :exe ':call InsrtFram()'
You can check one day http://atp-vim.sf.net, which I am an author of.
Best,
Marcin
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Friday, February 8, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment