On Wednesday 16 September 2009, [email protected] wrote:

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

forgive me a silly question, but:  why?

if for example you have F5 defined as

    map <silent> <F5> :nohlsearch<CR>

why would you not simply put nohlsearch in your script?

sc

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

Reply via email to