You're right. The function keys do not seem to require the carriage return in gvim. Is there a setting I can tinker with to make gvim behave like vim in this case? I like my one keystroke mappings in vim and would love to have them work the same way in gvim. :-)
Mahurshi Akilla On May 2, 6:20 pm, Tony Mechelynck <[email protected]> wrote: > On 03/05/09 01:17, Mahurshi Akilla wrote: > > > > > The below map works fine in vim, but requires a carriage return in > > gvim to call the function. Is there a way to get gvim to not require > > the additional carriage return after I press ` > > > map<silent> ` :call myfunc()<CR> > > > Mahurshi Akilla > > It may depend on your keyboard. On mine, there is no backtick but there > is a grave-accent deadkey and I need to add a space to get the backtick. > > Does it work if you replace the backtick by <F12> in the mapping then > hit the F12 key to trigger it? > > Best regards, > Tony. > -- > hundred-and-one symptoms of being an internet addict: > 23. You can't call your mother...she doesn't have a modem. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
