On Sunday, March 30, 2014 1:55:58 AM UTC+13, Tony Mechelynck wrote:
> The Vim help mentions even <F13> to <F19>, see ":help <F13>" etc., but I 
> haven't seen a keyboard which had them. I suppose that the author of the 
> snippet had a very special keyboard.

Or, maybe, the author was on a system using X and knew about xmodmap. If I

xmodmap -e 'keycode 135 = F30'

then gvim happily sees and can map F30 when I press the otherwise useless menu 
key.  The limit on my system (Kubuntu 13.10) is F35, I've no idea where that 
comes from but I note tpope's mappings go up to F35.  (When I was last on 
windows I used registry hacks to achieve similar results.) 

One can find out the keycodes and keysyms using the xev utility.  Note that 
one's "window manager" or "desktop environment" or whatever has to allow use of 
the key.  My keyboard has silly little mail, home page and search buttons and I 
can use the mail and home page buttons with gvim but not the search button, as 
KDE wants to start a browser on Google if I press it.

Regards, John Little

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui