John Wiersba wrote:
When I press F2, rather than doing the action associated with F2?  Sometimes when 
this >happens, it will happen again, but often it won't repeat for a while.

It sounds like you have the mapping defined in normal mode, with :map,
but not in insert mode, with :map!.  Often with Vim one needs two
mappings; for example, I use

map  <F7>    :noh<CR>
map! <F7>   <C-O>:noh<cr>

to turn off search highlighting till the next search.  Note that the
:map! version has to leave insert mode temporarily; that's why they're
separate.  vi was like this.

Apologies if I'm off the mark.

John

Reply via email to