Hello,

"J Hofmann" <[email protected]> a écrit :

> How can I trigger a function key in a script?
> 
> I tried
> normal <F5>
> and
> execute '<F5>'
> but this does not work.

It's both. :)
  :exe "normal \<F5>"

You can also consider returning an expression from your function and execute it.

-- 
Luc Hermitte
http://lh-vim.googlecode.com/
http://hermitte.free.fr/vim/

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to